#clamscan

wurstaufbrot@pod.geraspora.de

We are excited to announce the #ClamAV 1.1.0 release candidate.

You may find the source code and installers for this release on:

The clamav.net/downloads page, or
The ClamAV GitHub release page

Tip: If you are downloading the source from the GitHub release page, the package labeled "clamav-1.1.0-rc.tar.gz" does not require an internet connection to build. All dependencies are included in this package. But if you download the ZIP or TAR.GZ generated by GitHub, located at the very bottom, then an internet connection will be required during the build to download additional Rust dependencies.

For Docker users, there is no specific Docker tag for the release candidate, but you can use the clamav:unstable or clamav:unstable_base tags.

The release candidate phase is expected to last two to three weeks before we publish the stable release or a second release candidate. Please take this time to evaluate ClamAV 1.1.0.

Please help us validate this release by providing feedback via the ClamAV mailing list or on our Discord.

ClamAV 1.1.0 includes the following improvements and changes:

Major changes

Added the ability to extract images embedded in HTML CSS blocks.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/813

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/852

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/867

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/867

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/852

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/840

Build system: Added CMake option DO_NOT_SET_RPATH to avoid setting RPATH on Unix systems. Feature courtesy of Sebastian Andrzej Siewior.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/815

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/776

Build system: Enabled users to pass in custom Rust compiler flags using the RUSTFLAGS CMake variable. Feature courtesy of Orion Poplawski.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/835

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/855

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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/800

Fixed compile time warnings. Improvement courtesy of Răzvan Cojocaru.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/795

Added a minor optimization when matching domain name regex signatures for PDB, WDB and CDB type signatures.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/837

Build system: Enabled the ability to select a specific Python version. When building, you may use the CMake option -D PYTHON_FIND_VER= to choose a specific Python version. Feature courtesy of Matt Jolly.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/787

Added improvements to the #ClamOnAcc process log output so that it is easier to diagnose bugs.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/822

#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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/872

#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.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/852

Other minor improvements:

Bug fixes

Fixed the broken ExcludePUA / --exclude-pua feature. Fix courtesy of Ged Haywood and Shawn Iverson.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/780

Fixed an issue with integer endianness when parsing Windows executables on big-endian systems. Fix courtesy of Sebastian Andrzej Siewior.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/814

Fixed a possible stack overflow read when parsing WDB signatures. This issue is not a vulnerability.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/807

Fixed a possible index out of bounds when loading CRB signatures. This issue is not a vulnerability.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/810

Fixed a possible use after free when reading logical signatures. This issue is not a vulnerability.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/811

Fixed a possible heap overflow read when reading PDB signatures. This issue is not a vulnerability.
GitHub pull request: https://github.com/Cisco-Talos/clamav/pull/812

Acknowledgments:

Special thanks to the following people for code contributions and bug reports:

Craig Andrews
Ged Haywood
Matt Jolly
Orion Poplawski
Nicolas R.
Răzvan Cojocaru
Red
Shawn Iverson
Sebastian Andrzej Siewior
The OSS-Fuzz project

Posted by Micah Snyder at 1:04 PM

#Labels: 1.1.0, #Release_Candidate

utzer@social.yl.ms

Anyone here got some experience with #clamscan and #Nextcloud, I thought it might be a good idea to set it up, but it is bringing load up to 8 when I move many files. So I wonder if there is some tweaking that has to be done or if I should deactivate it again?
I think it also slows down uploads a lot, but am not sure about that, but uploads from Nextcloud #Linux client are slow while the load is high and clamscan is adding much load for the CPU.
Screenshot of higher load, didn't manage to capture the moment of max CPU usage. It uses 100% for one process almost all the time.

Settings in Nextcloud:

This is a #Yunohost setup, but I guess that should not matter.