]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
clamav: Update to 1.1.0
authorMatthias Fischer <matthias.fischer@ipfire.org>
Wed, 3 May 2023 19:11:51 +0000 (21:11 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 4 May 2023 06:07:15 +0000 (06:07 +0000)
For details see:
https://blog.clamav.net/2023/05/clamav-110-released.html

"Major changes

    Added the ability to extract images embedded in HTML CSS <style> blocks.

    Updated to Sigtool so that the --vba option will extract VBA code from
    Microsoft Office documents the same way that libclamav extracts VBA.
    This resolves several issues where Sigtool could not extract VBA.
    Sigtool will also now display the normalized VBA code instead of the
    pre-normalized VBA code.

    Added a new ClamScan and ClamD option: --fail-if-cvd-older-than=days.
    Additionally, we introduce FailIfCvdOlderThan as a clamd.conf synonym
    for --fail-if-cvd-older-than. When passed, it causes ClamD to exit on
    startup with a non-zero return code if the virus database is older than
    the specified number of days.

    Added a new function cl_cvdgetage() to the libclamav API. This function
    will retrieve the age in seconds of the youngest file in a database
    directory, or the age of a single CVD (or CLD) file.

    Added a new function cl_engine_set_clcb_vba() to the libclamav API. Use
    this function to set a cb_vba callback function. The cb_vba callback
    function will be run whenever VBA is extracted from office documents.
    The provided data will be a normalized copy of the extracted VBA. This
    callback was added to support Sigtool so that it can use the same VBA
    extraction logic that ClamAV uses to scan documents.

Other improvements

    Removed the vendored TomsFastMath library in favor of using OpenSSL to
    perform "big number"/multiprecision math operations. Work courtesy of
    Sebastian Andrzej Siewior.

    Build system: Added CMake option DO_NOT_SET_RPATH to avoid setting
    RPATH on Unix systems. Feature courtesy of Sebastian Andrzej Siewior.

    Build system: Enabled version-scripts with CMake to limit symbol
    exports for libclamav, libfreshclam, libclamunrar_iface, and
    libclamunrar shared libraries on Unix systems, excluding macOS.
    Improvement courtesy of Orion Poplawski and Sebastian Andrzej Siewior.

    Build system: Enabled users to pass in custom Rust compiler flags using
    the RUSTFLAGS CMake variable. Feature courtesy of Orion Poplawski.

    Removed a hard-coded alert for CVE-2004-0597. The CVE is old enough
    that it is no longer a threat and the detection had occasional
    false-positives.

    Set Git attributes to prevent Git from altering line endings for Rust
    vendored libraries. Third-party Rust libraries are bundled in the
    ClamAV release tarball. We do not commit them to our own Git
    repository, but community package maintainers may now store the tarball
    contents in Git. The Rust build system verifies the library manifest,
    and this change ensures that the hashes are correct. Improvement
    courtesy of Nicolas R.

    Fixed compile time warnings. Improvement courtesy of Razvan Cojocaru.

    Added a minor optimization when matching domain name regex signatures
    for PDB, WDB and CDB type signatures.

    Build system: Enabled the ability to select a specific Python version.
    When building, you may use the CMake option -D
    PYTHON_FIND_VER=<version> to choose a specific Python version. Feature
    courtesy of Matt Jolly.

    Added improvements to the ClamOnAcc process log output so that it is
    easier to diagnose bugs.

    Windows: Enabled the MSI installer to upgrade between feature versions
    more easily when ClamAV is installed to a location different from the
    default (i.e., not C:\Program Files\ClamAV). This means that the MSI
    installer can find a previous ClamAV 1.0.x installation to upgrade to
    ClamAV 1.1.0.

    Sigtool: Added the ability to change the location of the temp directory
    using the --tempdir option and added the ability to retain the temp
    files created by Sigtool using the --leave-temps option.

    Other minor improvements.

Bug fixes

    Fixed the broken ExcludePUA / --exclude-pua feature. Fix courtesy of
    Ged Haywood and Shawn Iverson.

    Fixed an issue with integer endianness when parsing Windows executables
    on big-endian systems. Fix courtesy of Sebastian Andrzej Siewior.

    Fixed a possible stack overflow read when parsing WDB signatures. This
    issue is not a vulnerability.

    Fixed a possible index out of bounds when loading CRB signatures. This
    issue is not a vulnerability.

    Fixed a possible use after free when reading logical signatures. This
    issue is not a vulnerability.

    Fixed a possible heap overflow read when reading PDB signatures. This
    issue is not a vulnerability.

    Fixed a possible heap overflow read in javascript normalizer module.
    This issue is not a vulnerability.

    Fixed two bugs that would cause Freshclam to fail update when applying
    a CDIFF database patch if that patch adds a file to the database
    archive or removes a file from the database archive. This bug also
    caused Sigtool to fail to create such a patch.

    Fixed an assortment of complaints identified by Coverity static analysis.

    Fixed one of the Freshclam tests that was failing on some Fedora
    systems due to a bug printing debug-level log messages to stdout. Fix
    courtesy of Arjen de Korte.

    Correctly remove temporary files generated by the VBA and XLM
    extraction modules so that the files are not leaked in patched versions
    of ClamAV where temporary files are written directly to the
    temp-directory instead of writing to a unique subdirectory."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/packages/clamav
lfs/clamav

index fd3c4c0c991a3f9947a88b0302c58a1a5de8ee76..d49a12d52318504b669ee2a3ef6c5eef174ead9b 100644 (file)
@@ -13,20 +13,20 @@ usr/bin/sigtool
 #usr/include/clamav.h
 #usr/include/libfreshclam.h
 usr/lib/libclamav.so
-usr/lib/libclamav.so.11
-usr/lib/libclamav.so.11.0.0
+usr/lib/libclamav.so.12
+usr/lib/libclamav.so.12.0.0
 usr/lib/libclammspack.so
 usr/lib/libclammspack.so.0
 usr/lib/libclammspack.so.0.8.0
 usr/lib/libclamunrar.so
-usr/lib/libclamunrar.so.11
-usr/lib/libclamunrar.so.11.0.0
+usr/lib/libclamunrar.so.12
+usr/lib/libclamunrar.so.12.0.0
 usr/lib/libclamunrar_iface.so
-usr/lib/libclamunrar_iface.so.11
-usr/lib/libclamunrar_iface.so.11.0.0
+usr/lib/libclamunrar_iface.so.12
+usr/lib/libclamunrar_iface.so.12.0.0
 usr/lib/libfreshclam.so
-usr/lib/libfreshclam.so.2
-usr/lib/libfreshclam.so.2.0.2
+usr/lib/libfreshclam.so.3
+usr/lib/libfreshclam.so.3.0.0
 #usr/lib/pkgconfig/libclamav.pc
 usr/sbin/clamd
 #usr/share/doc/ClamAV
index 426321c055d460246d65786e92125492ef6bdab1..eeb0df5b27947d55cf662ac3aefb1d172c5a07f9 100644 (file)
@@ -26,7 +26,7 @@ include Config
 
 SUMMARY    = Antivirus Toolkit
 
-VER        = 1.0.1
+VER        = 1.1.0
 
 THISAPP    = clamav-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = clamav
-PAK_VER    = 65
+PAK_VER    = 66
 
 DEPS       =
 
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 8f216051eeb94a9196849c9edff2fe0c73e4aa3ca242cf72d91c1692eb2a4688f8e525f638b6870a2f934976435a4272a1f116c1cf3a7cfd194efa91f11fd135
+$(DL_FILE)_BLAKE2 = 6a30558b8e6d2f8d98eb0b990e58ec9a19d7f58b11863ec5dffe97f45c73c1ea8bb0360456193c76d178068ee5eb7f01fc44851eb7bf90d42ca9dd9431413a4f
 
 install : $(TARGET)