Commit Graph

57 Commits

Author SHA1 Message Date
Matthias Fischer
949c109a6c clamav: Update to 1.0.0
[Please note: This 'clamav' version needs rust >1.56]

For details see:
https://blog.clamav.net/2022/11/clamav-100-lts-released.html

Excerpt:

"Major changes

    Support for decrypting read-only OLE2-based XLS files that are encrypted with the default password. Use of
    the default password will now appear in the metadata JSON.

    Overhauled the implementation of the all-match feature. The newer code is more reliable and easier to
    maintain.

        This project fixed several known issues with signature detection in all- match mode:

            Enabled embedded file-type recognition signatures to match when a malware signature also matched in
            a scan of the same layer.

            Enabled bytecode signatures to run in all-match mode after a match has occurred.

            Fixed an assortment of all-match edge case issues.

        Added multiple test cases to verify correct all-match behavior.

    Added a new callback to the public API for inspecting file content during a scan at each layer of archive
    extraction.

        The new callback function type is clcb_file_inspection defined in clamav.h.

        The function cl_engine_set_clcb_file_inspection() may be used to enable the callback prior to performing
        a scan.

        This new callback is to be considered unstable for the 1.0 release. We may alter this function in a
        subsequent feature version.

    Added a new function to the public API for unpacking CVD signature archives.

        The new function is cl_cvdunpack(). The last parameter for the function may be set to verify if a CVD's
        signature is valid before unpacking the CVD content to the destination directory.

    The option to build with an external TomsFastMath library has been removed. ClamAV requires non-default
    build options for TomsFastMath to support bigger floating point numbers. Without this change, database and
    Windows EXE/DLL authenticode certificate validation may fail. The ENABLE_EXTERNAL_TOMSFASTMATH build is now
    ignored.

    Moved the Dockerfile and supporting scripts from the main ClamAV repository over to a new
    repository: https://github.com/Cisco-Talos/clamav-docker

    The separate repository will make it easier to update the images and fix issues with images for released
    ClamAV versions.

    Any users building the ClamAV Docker image rather than pulling them from Docker Hub will have to get the
    latest Docker files from the new location.

    Increased the SONAME major version for libclamav because of ABI changes between the 0.103 LTS release and
    the 1.0 LTS release.

Other improvements

    Add checks to limit PDF object extraction recursion.

    Increased the limit for memory allocations based on untrusted input and altered the warning message when the
    limit is exceeded so that it is more helpful and less dramatic.

    Dramatically improved the build time of libclamav-Rust unit tests. The unit test build is included in the
    time limit for the test itself and was timing out on slower systems. The ClamAV Rust code modules now share
    the same build directory, which also reduces the amount of disk space used for the build.

    For Windows: The debugging symbol (PDB) files are now installed alongside the DLL and LIB library files when
    built in "RelWithDebInfo" or "Debug" mode.

    Relaxed the constraints on the check for overlapping ZIP file entries so as not to alert on slightly
    malformed, but non-malicious, Java (JAR) archives.

    Increased the time limit in FreshClam before warning if the DNS entry is stale. In combination with changes
    to update the DNS entry more frequently, this should prevent false alarms of failures in the database
    publication system.

    Docker: The C library header files are now included in the Docker image. Patch courtesy of GitHub user
    TerminalFi.

    Show the BYTECODE_RUNTIME build options when using the ccmake GUI for CMake. Patch courtesy of
    Дилян Палаузов.

    Added explicit minimum and maximum supported LLVM versions so that the build will fail if you try to build
    with a version that is too old or too new and will print a helpful message rather than simply failing to
    compile because of compatibility issues. Patch courtesy of Matt Jolly.

    Fixed compiler warnings that may turn into errors in Clang 16. Patch courtesy of Michael Orlitzky.

    Allow building with a custom RPATH so that the executables may be moved after build in a development
    environment to a final installation directory.

Bug fixes

    Assorted code quality fixes. These are not security issues and will not be backported to prior feature
    versions:

        Several heap buffer overflows while loading PDB and WDB databases were found by OSS-Fuzz and by Michal
        Dardas.

        oss-fuzz 43843: heap buffer overflow read (1) cli_sigopts_handler

        oss-fuzz 44849: heap buffer overflow read (4) in HTML/js-norm

        oss-fuzz 43816: heap buffer overflow read (8) in cli_bcomp_freemeta

        oss-fuzz 43832: heap buffer overflow read (2) in cli_parse_add

        oss-fuzz 44493: integer overflow in cli_scannulsft

        CIFuzz leak detected in IDB parser

        oss-fuzz assorted signature parser leaks

        oss-fuzz 40601: leak detected in pdf_parseobj

    Fixed a build failure when using LIBCLAMAV_ONLY mode with tests enabled.

    Fixed an issue verifying EXE/DLL authenticode signatures to determine a given file can be trusted (skipped).

    Fixed a caching bug relating to the Container and Intermediates logical signature condition.

    Fixed a build issue when build with RAR disabled or when building with an external libmspack library rather
    than the bundled library.

    Fixed the capitalization of the -W option for clamonacc in the clamonacc manpage. Patch courtesy of GitHub
    user monkz.

    macOS: Fixed an issue with memory-map (mmap) system call detection affecting versions 0.105 and 0.104.
    Memory maps may be used in ClamAV to improve signature load performance and scan performance, as well as RAM
    usage.

    Fixed a performance issue with Rust code when the build type is not explicitly set to "Release" or
    "RelWithDebInfo". The Rust default build type is now "RelWithDebInfo" just like the C code, instead of
    Debug. This means it is now optimized by default.

    Fixed an issue loading Yara rules containing regex strings with an escaped forward-slash (\/) followed by a
    colon (:).

    Fixed an issue detecting and scanning ZIP file entries appended to very small files. The fix is part of the
    all-match feature overhaul.

    Fixed a detection issue with EXE/DLL import-address-table hash signatures that specify a wildcard (*) for
    the size field. The fix is part of the all-match feature overhaul.

    Fixed the default bytecode timeout value listed in the manpages and in the sample config files. Patches
    courtesy of Liam Jarvis and Ben Bodenmiller.

    Fixed an issue building the libclamav_rust test program when running ctest if building
    with BYTECODE_RUNTIME=llvm and when the FindLLVM.cmake module is used to find the LLVM libraries. Patch
    courtesy of GitHub user teoberi.

    Fixed an issue where scans sent to clamd with the all-match mode enabled caused all subsequent scans to also
    use all-match mode.

    Fixed bug when starting clamonacc with the --log=FILE option that created randomly named files in the
    current directory.

    Other assorted bug fixes."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2023-01-26 23:03:46 +00:00
Matthias Fischer
b2ab2f4ccc clamav: Update to 0.105.1
For details see:
https://blog.clamav.net/2022/07/clamav-01037-01041-and-01051-patch.html

"ClamAV 0.105.1 is a critical patch release with the following fixes:

    Upgrade the vendored UnRAR library to version 6.1.7.

    Fix issue building macOS universal binaries in some configurations.

    Silence error message when the logical signature maximum functionality
    level is lower than the current functionality level.

    Fix scan error when scanning files containing malformed images that
    cannot be loaded to calculate an image fuzzy hash.

    Fix logical signature "Intermediates" feature.

    Relax constraints on slightly malformed ZIP archives that contain
    overlapping file entries."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:11:47 +00:00
Matthias Fischer
6bea701c49 clamav: Update to 0.105.0
For details see:
https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2022-05-30 19:18:01 +00:00
Matthias Fischer
f7627d8687 clamav: Update to 0.104.0
For details see:
https://blog.clamav.net/2021/09/clamav-01040-released.html

New requirements and major changes:
"As of ClamAV 0.104, CMake is required to build ClamAV
...
The built-in LLVM for the bytecode runtime has been removed."

But since the current 'llvm 12.0.1' version refused to be build
"...you will need to supply the development libraries for LLVM
version 3.6.2" - which is ~6 years old - I gave up with 'llvm'
and stayed with the bytecode "interpreter".

Cited:
"The bytecode interpreter is the default runtime for bytecode
signatures just as it was in ClamAV 0.103.

@ALL:
In 'clamav 0.104.0' there is no appropriate cmake option for
"CONFIGURE_FLAGS = --disable-fanotify" for ARM buildings anymore.
Perhaps there is a kernel option for this?
=> https://docs.clamav.net/manual/OnAccess.html#requirements

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Matthias Fischer
99804aaed7 clamav: Update to 0.103.0
For details see:
https://blog.clamav.net/2020/09/clamav-01030-released.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-09-17 18:49:44 +00:00
Matthias Fischer
a92ede2487 clamav: Update to 0.102.0
For details see:
https://blog.clamav.net/2019/10/clamav-01020-has-been-released.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-10-08 19:01:02 +00:00
Matthias Fischer
10945e38f3 clamav: Update to 0.101.2
For details see:
https://blog.clamav.net/2019/03/clamav-01012-and-01003-patches-have.html

"ClamAV 0.101.2 is a patch release to address a handful of security related bugs."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-03-29 13:50:18 +00:00
Matthias Fischer
e3429b4aad clamav: Update to 0.101.1
For details see:
https://blog.clamav.net/2019/01/clamav-01011-patch-has-been-released.html

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-01-07 01:33:05 +00:00
Matthias Fischer
5df66de303 clamav: Update to 0.101.0
For details see:
https://blog.clamav.net/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-12-11 19:42:22 +00:00
Arne Fitzenreiter
912c590bb6 clamav: fix rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-11-04 08:41:43 +01:00
Arne Fitzenreiter
582775709f clamav: rootfile update 2018-11-03 21:08:30 +01:00
Michael Tremer
aeefbca730 clamav: Move database directory to /var partition
The clamav database is quite large and occupies valuable
space on the root partition that on older systems is only
2GB large. This change moves the virus definition database
to the /var partition which is larger and supposed to hold
data like this anyway.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-29 11:25:24 +00:00
Matthias Fischer
f529ad213f clamav 0.100.0: Add missing update for rootfile
This is missing in https://patchwork.ipfire.org/patch/1722/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-04-23 11:21:10 +01:00
Matthias Fischer
db1404051f clamav: Update to 0.99
clamav: Update to 0.99

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-12-11 18:46:02 +00:00
Arne Fitzenreiter
8d1e36cca5 clamav: update to 0.98.7 2015-04-30 06:50:15 +02:00
Arne Fitzenreiter
3ec88e97cd clamav: update to 0.98.6. 2015-02-23 16:53:07 +01:00
Matthias Fischer
a403ce7cca clamav: Update to 0.98.5 2015-02-23 14:33:19 +01:00
Arne Fitzenreiter
e055b1105a rootfiles: remove /var/run/... from packages.
this will destroy a symlink to /run and is a ramdisk so
content is removed on every boot and it make no sense to
package it.
2014-07-17 15:54:35 +02:00
Arne Fitzenreiter
654a8ece84 clamav: update to 0.98.4. 2014-06-17 16:11:03 +02:00
Arne Fitzenreiter
1a200cffc9 clamav: update to 0.98.3. 2014-05-11 19:01:45 +02:00
Arne Fitzenreiter
f56c0f6c77 clamav: update to 0.98.1. 2014-01-15 23:48:48 +01:00
Arne Fitzenreiter
0a379f8fe6 clamav: update to 0.98. 2013-09-22 16:34:07 +02:00
Arne Fitzenreiter
5d46c29e5a clamav: update to 0.97.8. 2013-04-30 10:16:19 +02:00
Arne Fitzenreiter
00f9fa160d clamav: update to 0.97.6. 2012-09-20 23:25:15 +02:00
Arne Fitzenreiter
dd0411c646 clamav: update to 0.97.5. 2012-06-19 21:24:51 +02:00
Arne Fitzenreiter
da43373bdb clamav: updated to 0.97.4. 2012-03-18 13:14:59 +01:00
Arne Fitzenreiter
a5b82ef121 clamav: update to 0.97.3. 2011-10-19 14:35:04 +02:00
Arne Fitzenreiter
68b6a4380f clamav: update to 0.97.2. 2011-07-27 23:38:18 +02:00
Arne Fitzenreiter
b571e4c234 clamav: update to 0.97.1. 2011-06-11 11:23:02 +02:00
Arne Fitzenreiter
5cb1931f25 Update clamav (0.97). 2011-02-08 22:11:51 +01:00
Arne Fitzenreiter
27f2be1853 Updated clamav (0.96.5). 2010-12-06 14:03:15 +01:00
Christian Schmidt
ee788c9e46 Upgraded clamav to latest stable. 2010-08-18 11:26:27 +02:00
Arne Fitzenreiter
3959e2d3fb Rootfile update: clamav. 2010-05-27 07:13:31 +02:00
Christian Schmidt
065cc0d6ef Updated clamav to current stable. 2010-05-26 16:12:56 +02:00
Arne Fitzenreiter
cae7b5a5b1 Updated clamav (0.96). 2010-05-01 00:32:44 +02:00
Arne Fitzenreiter
1ca249ccfb Updated clamav to 0.95.3. 2009-11-03 09:07:21 +01:00
Arne Fitzenreiter
39dffbc2aa Updated clamav to 0.95.2 2009-06-13 21:19:25 +02:00
Arne Fitzenreiter
86c8565eb2 Updated clamav to 0.95.1 2009-05-10 13:50:35 +02:00
Arne Fitzenreiter
3b5afaed9b Updated clamav to 0.94.2 2008-11-28 21:16:51 +01:00
Arne Fitzenreiter
ecacf8102e Update clamav package to 0.94.1 2008-11-11 15:05:45 +01:00
Arne Fitzenreiter
7c5bd538bf Updated clamav to 0.94
Changed videolan package version
2008-09-03 20:28:59 +02:00
Arne Fitzenreiter
8a8e094a3c Updated clamav to version 0.93.3 2008-07-10 07:07:41 +02:00
Arne Fitzenreiter
f866380fce Fix collectd & clamav rootfiles 2008-06-19 07:00:02 +02:00
Arne Fitzenreiter
3a231e36e2 fix clamav rootfile 2008-04-16 23:30:01 +02:00
arne_f
4f57d6981e Fix .pid access of clamd and freshclam
Add ClamAV section to system-log (core8)
Create /etc/ntp folder (core8)


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1216 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-02-16 17:03:48 +00:00
arne_f
30a0603482 Updated ClamAV to 0.92.1
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1205 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-02-13 17:20:22 +00:00
arne_f
a092753f23 Updated ClamAV to 0.92
Added patch for gcc bug pr28045



git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1202 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-02-11 22:33:41 +00:00
ms
dc8b9670a9 Buildfixes
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@976 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-18 05:55:08 +00:00
ms
203c2787c9 Clamav kommt erstma ohne Virendefinitionen daher.
Die laedt der sich dann alleine.
rsync-Update.
Das Pakfire-Update kann beim Verbinden auch im Hintergrund ablaufen.
Einige Shell-Kommandos interaktiv gemacht.
AdoDB ins Paket von Openmailadmin hinzugefuegt.
Prompt ist wieder farbig.
Das MySQL-Setup ist noch nicht so besonders fit.
Der Server braucht zu lange zum starten - somit kann noch kein Passwort gesetzt werden.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@971 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-14 14:04:38 +00:00
ms
453b418b46 Clamav- und MySQL-Paket gefixt.
Cyrus-SASL aktiviert sich automatisch.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@932 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-09-30 20:47:59 +00:00