322 Commits

Author SHA256 Message Date
e1fef97079 Accepting request 1320508 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1320508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=138
2025-12-01 10:12:43 +00:00
dd8495db9f - Provide a better fix for boo#1249404 by disabling debug mode.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=302
2025-11-21 15:51:49 +00:00
5543a5b743 Accepting request 1317951 from home:bmwiedemann:branches:security
Build with older rust 1.87 for reproducible builds (boo#1249404)

OBS-URL: https://build.opensuse.org/request/show/1317951
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=301
2025-11-21 10:24:32 +00:00
c2a88dfd56 Accepting request 1317166 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1317166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=137
2025-11-12 20:14:11 +00:00
f3c2a729a3 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=299 2025-11-04 16:54:47 +00:00
bb420d03fa OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=298 2025-11-04 16:45:15 +00:00
2e339e7994 - Add clamav-workaround.patch to work around symbol removals in
version 1.5.0 and 1.5.1.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=297
2025-11-04 16:10:50 +00:00
f3a8b10616 Accepting request 1311754 from security
- New version: 1.5.1:
  * Fixed a significant performance issue when scanning some PE
    files.
  * Fixed an issue recording file entries from a ZIP archive
    central directory which resulted in
    "Heuristics.Limits.Exceeded.MaxFiles" alerts when using the
    ClamScan --alert-exceeds-max command line option or ClamD
    AlertExceedsMax config file option.
  * Improved performance when scanning TNEF email attachments.
  * Fixed an issue with recording metadata for OOXML office
    documents.
  * Fixed an issue with signature matches for VBA in OLE2 office
    documents.
  * Loosened overly restrictive rules for embedded file
    identification and increased the limit for finding PE files
    embedded in other PE files.
  * Fixed an issue with extracting some RAR archives embedded in
    other files.
  * Fixed an issue with calculating fuzzy hashes affecting some
    images by updating the version for several Rust library
    dependencies.

- Add json-c-json-c-0.18-20240915.tar.gz and link it statically
  into libclamav on SLE-12, because version 0.12 is too old.

- New version 1.5.0:
  * Added checks to determine if an OLE2-based Microsoft Office
    document is encrypted.
  * Added the ability to record URIs found in HTML if the
    generate-JSON-metadata feature is enabled.
  * Added the ability to record URIs found in PDFs if the
    generate-JSON-metadata feature is enabled.
  * Added regex support for the clamd.conf OnAccessExcludePath
    config option.
  * Added CVD signing/verification with external .sign files.
  * Freshclam, ClamD, ClamScan, and Sigtool: Added an option to
    enable FIPS-like limits disabling MD5 and SHA1 from being used
    for verifying digital signatures or for being used to trust a
    file when checking for false positives
  * ClamD: Added an option to disable select administrative
    commands including SHUTDOWN, RELOAD, STATS and VERSION.
  * libclamav: Added extended hashing functions with a "flags"
    parameter that allows the caller to choose if they want to
    bypass FIPS hash algorithm limits.
  * See the release announcement for the full list of changes:
    https://blog.clamav.net/2025/10/clamav-150-released.html
- Obsoleted patches:
  * clamav-freshclam_test.patch
  * clamav-disable-administrative-commands.patch
  * clamav-fips.patch
- Use macros for library versions
- Remove service symlinks: rcclamd, rcfreshclam, rcclamav-milter,
  and clamonacc.
- Use rust 1.86 for SLE-12 and SLE-15-SP2.

OBS-URL: https://build.opensuse.org/request/show/1311754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=136
2025-10-17 15:25:39 +00:00
5edb532f85 - New version: 1.5.1:
* Fixed a significant performance issue when scanning some PE
    files.
  * Fixed an issue recording file entries from a ZIP archive
    central directory which resulted in
    "Heuristics.Limits.Exceeded.MaxFiles" alerts when using the
    ClamScan --alert-exceeds-max command line option or ClamD
    AlertExceedsMax config file option.
  * Improved performance when scanning TNEF email attachments.
  * Fixed an issue with recording metadata for OOXML office
    documents.
  * Fixed an issue with signature matches for VBA in OLE2 office
    documents.
  * Loosened overly restrictive rules for embedded file
    identification and increased the limit for finding PE files
    embedded in other PE files.
  * Fixed an issue with extracting some RAR archives embedded in
    other files.
  * Fixed an issue with calculating fuzzy hashes affecting some
    images by updating the version for several Rust library
    dependencies.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=295
2025-10-16 16:17:10 +00:00
75be8165be - Add json-c-json-c-0.18-20240915.tar.gz and link it statically
into libclamav on SLE-12, because version 0.12 is too old.
- Use rust 1.86 for SLE-12 and SLE-15-SP2.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=294
2025-10-16 12:20:22 +00:00
2c2327adc1 - New version 1.5.0:
* Added checks to determine if an OLE2-based Microsoft Office
    document is encrypted.
  * Added the ability to record URIs found in HTML if the
    generate-JSON-metadata feature is enabled.
  * Added the ability to record URIs found in PDFs if the
    generate-JSON-metadata feature is enabled.
  * Added regex support for the clamd.conf OnAccessExcludePath
    config option.
  * Added CVD signing/verification with external .sign files.
  * Freshclam, ClamD, ClamScan, and Sigtool: Added an option to
    enable FIPS-like limits disabling MD5 and SHA1 from being used
    for verifying digital signatures or for being used to trust a
    file when checking for false positives
  * ClamD: Added an option to disable select administrative
    commands including SHUTDOWN, RELOAD, STATS and VERSION.
  * libclamav: Added extended hashing functions with a "flags"
    parameter that allows the caller to choose if they want to
    bypass FIPS hash algorithm limits.
  * See the release announcement for the full list of changes:
    https://blog.clamav.net/2025/10/clamav-150-released.html
- Obsoleted patches:
  * clamav-freshclam_test.patch
  * clamav-disable-administrative-commands.patch
  * clamav-fips.patch
- Use macros for library versions
- Remove service symlinks: rcclamd, rcfreshclam, rcclamav-milter,
  and clamonacc.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=293
2025-10-08 17:59:39 +00:00
ad6f4c1e96 Accepting request 1290236 from security
- bsc#1240363, clamav-disable-administrative-commands.patch: clamd:
  Add an option to toggle SHUTDOWN, RELOAD, STATS and VERSION.

OBS-URL: https://build.opensuse.org/request/show/1290236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=135
2025-07-06 15:07:59 +00:00
eed67f41ec OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=291 2025-06-30 17:07:20 +00:00
50e6766018 Accepting request 1287162 from security
- New version 1.4.3:
  ClamAV 1.4.3 is a patch release with the following fixes:
  * CVE-2025-20260, bsc#1245054: Fixed a possible buffer overflow
    write bug in the PDF file parser that could cause a
    denial-of-service (DoS) condition or enable remote code
    execution. This issue only affects configurations where both:
    - The max file-size scan limit is set greater than or equal to 1024MB.
    - The max scan-size scan limit is set greater than or equal to 1025MB.
    The code flaw was present prior to version 1.0.0, but a change in
    version 1.0.0 that enables larger allocations based on untrusted data
    made it possible to trigger this bug.
    This issue affects all currently supported versions.
  * CVE-2025-20234, bsc#1245055: Fixed a possible buffer overflow
    read bug in the UDF file parser that may write to a temp file
    and thus disclose information, or it may crash and cause a
    denial-of-service (DoS) condition.
    This issue was introduced in version 1.2.0.
  * Fixed a possible use-after-free bug in the Xz decompression module in
    the bundled lzma-sdk library.
    This issue was fixed in the lzma-sdk version 18.03. ClamAV bundles a
    copy of the lzma-sdk with some performance changes specific to
    libclamav, plus select bug fixes like this one in lieu of a full
    upgrade to newer lzma-sdk.
    This issue affects all ClamAV versions at least as far back as 0.99.4.
  * Windows: Fixed a build install issue when a DLL dependency such as
    libcrypto has the exact same name as one provided by the Windows
    operating system.
- Renew clamav.keyring

OBS-URL: https://build.opensuse.org/request/show/1287162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=134
2025-06-20 14:54:14 +00:00
07697f3025 Add Bugzilla references
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=286
2025-06-20 08:52:14 +00:00
8c66e61d7f Accepting request 1287021 from home:adkorte:branches:security
- New version 1.4.3:
  ClamAV 1.4.3 is a patch release with the following fixes:
  * CVE-2025-20260: Fixed a possible buffer overflow write bug in the
    PDF file parser that could cause a denial-of-service (DoS) condition
    or enable remote code execution.
    This issue only affects configurations where both:
    - The max file-size scan limit is set greater than or equal to 1024MB.
    - The max scan-size scan limit is set greater than or equal to 1025MB.
    The code flaw was present prior to version 1.0.0, but a change in
    version 1.0.0 that enables larger allocations based on untrusted data
    made it possible to trigger this bug.
    This issue affects all currently supported versions.
  * CVE-2025-20234: Fixed a possible buffer overflow read bug in the UDF
    file parser that may write to a temp file and thus disclose information,
    or it may crash and cause a denial-of-service (DoS) condition.
    This issue was introduced in version 1.2.0.
  * Fixed a possible use-after-free bug in the Xz decompression module in
    the bundled lzma-sdk library.
    This issue was fixed in the lzma-sdk version 18.03. ClamAV bundles a
    copy of the lzma-sdk with some performance changes specific to
    libclamav, plus select bug fixes like this one in lieu of a full
    upgrade to newer lzma-sdk.
    This issue affects all ClamAV versions at least as far back as 0.99.4.
  * Windows: Fixed a build install issue when a DLL dependency such as
    libcrypto has the exact same name as one provided by the Windows
    operating system.
- Renew clamav.keyring

OBS-URL: https://build.opensuse.org/request/show/1287021
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=285
2025-06-20 08:44:30 +00:00
9a25addab1 Accepting request 1282251 from security
- bsc#1243565: Add clamav-freshclam_test.patch to fix a race
  condition between the mockup servers started by different test
  cases in freshclam_test.py.

OBS-URL: https://build.opensuse.org/request/show/1282251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=133
2025-06-03 15:55:16 +00:00
a135f831da - bsc#1243565: Add clamav-freshclam_test.patch to fix a race
condition between the mockup servers started by different test
  cases in freshclam_test.py.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=283
2025-05-28 14:46:22 +00:00
64f4d810b3 Accepting request 1265932 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1265932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=132
2025-04-02 15:12:19 +00:00
a2b40efdcc OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=281 2025-03-24 15:51:05 +00:00
91793cadc1 bsc#1239957: Build with PIE.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=280
2025-03-24 14:48:03 +00:00
affa7c6a32 Accepting request 1244806 from security
- bsc#1236949: Fix location of license files.

OBS-URL: https://build.opensuse.org/request/show/1244806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=131
2025-02-10 17:22:58 +00:00
a90ec7387b - bsc#1236949: Fix location of license files.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=278
2025-02-10 15:13:26 +00:00
d73bd710d2 Accepting request 1241514 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1241514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=130
2025-01-31 15:04:55 +00:00
8bf02642a5 - Drop the version dependency on libcurl. Building against versions
older than 7.45 does not fail anymore, but disables support for
  fdpassing in clamonacc. This only affects SLE-12 up to SP3.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=276
2025-01-23 17:37:45 +00:00
18bed56917 Accepting request 1239891 from security
Add missing bug and CVE references

- New version 1.4.2:
  * CVE-2025-20128, bsc#1236307: Fixed a possible buffer overflow
    read bug in the OLE2 file parser that could cause a
    denial-of-service (DoS) condition.  

    (bsc#1103032: CVE-2018-14679)
- Update to 0.103.7 (bsc#1202986)
    (the clamscan --gen-json option) is enabled. (bsc#1194731)
    clamdscan, and clamonacc. (bsc#1174255)
    parser in versions affected by the vulnerability. (bsc#1174250)
    a crash. (bsc#1171981)
  * CVE-2012-6706 (bsc#1045315)
  * CVE-2017-6419 (bsc#1052449)
  * CVE-2017-11423 (bsc#1049423)
  * CVE-2018-0202 (bsc#1083915)
- Update to version 0.99.1 (bsc#969814)
    (bnc#906770, CVE-2014-9050)

OBS-URL: https://build.opensuse.org/request/show/1239891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=129
2025-01-23 17:03:00 +00:00
c688778710 Add missing bug and CVE references
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=274
2025-01-23 14:23:00 +00:00
928d13e9ec Add bug id
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=273
2025-01-23 12:26:03 +00:00
2ab3f27527 - New version 1.4.2:
* CVE-2025-20128: Fixed a possible buffer overflow read bug in
    the OLE2 file parser that could cause a denial-of-service (DoS)
    condition.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=272
2025-01-22 18:21:29 +00:00
51188acd38 Accepting request 1238512 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1238512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=128
2025-01-17 17:43:50 +00:00
47ae5d915f - bsc#1232242: Start clamonacc with --fdpass to avoid errors due to
clamd not being able to access user files.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=270
2025-01-10 13:08:05 +00:00
da50748d3f Accepting request 1231926 from security
- fix factory submission (clam.tcl, clamscan.log) (forwarded request 1231922 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1231926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=127
2024-12-18 19:11:19 +00:00
9a73056fdb Accepting request 1231922 from home:AndreasStieger:branches:security
- fix factory submission (clam.tcl, clamscan.log)

OBS-URL: https://build.opensuse.org/request/show/1231922
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=268
2024-12-18 16:14:20 +00:00
5c8b051525 Accepting request 1229480 from home:AndreasStieger:branches:security
- fix factory submission (clam.tcl)

OBS-URL: https://build.opensuse.org/request/show/1229480
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=267
2024-12-18 13:56:22 +00:00
664c142f05 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=266 2024-09-10 14:24:43 +00:00
c519cbb114 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=265 2024-09-10 13:46:52 +00:00
dfd4947ab7 - New version 1.4.1:
* [CVE-2024-20506, bsc#1230162]: Changed the logging module to
    disable following symlinks on Linux and Unix systems so as to
    prevent an attacker with existing access to the 'clamd' or
    'freshclam' services from using a symlink to corrupt system
    files.
  * [CVE-2024-20505, bsc#1230161]: Fixed a possible out-of-bounds
    read bug in the PDF file parser that could cause a
    denial-of-service (DoS) condition.
  * https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html
- New version 1.4.0:
  * Added support for extracting ALZ archives.
  * Added support for extracting LHA/LZH archives.
  * Added the ability to disable image fuzzy hashing, if needed.
    For context, image fuzzy hashing is a detection mechanism
    useful for identifying malware by matching images included with
    the malware or phishing email/document.
  * https://blog.clamav.net/2024/08/clamav-140-feature-release-and-clamav.html

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=264
2024-09-10 13:35:10 +00:00
7bf48a149d Accepting request 1198813 from home:adkorte:branches:security
- New version 1.3.2:
  * CVE-2024-20506: Changed the logging module to disable following
    symlinks on Linux and Unix systems so as to prevent an attacker
    with existing access to the 'clamd' or 'freshclam' services from
    using a symlink to corrupt system files.
  * CVE-2024-20505: Fixed a possible out-of-bounds read bug in the PDF
    file parser that could cause a denial-of-service condition.
  * Removed unused Python modules from freshclam tests including
    deprecated 'cgi' module that is expected to cause test failures in
    Python 3.13.
  * Fix unit test caused by expiring signing certificate.
  * Fixed a build issue on Windows with newer versions of Rust. Also
    upgraded GitHub Actions imports to fix CI failures.
  * Fixed an unaligned pointer dereference issue on select architectures.
  * Fixes to Jenkins CI pipeline.
- Remove upstreamed 1305.patch

OBS-URL: https://build.opensuse.org/request/show/1198813
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=263
2024-09-09 12:39:53 +00:00
b4f3692a40 Accepting request 1190182 from security
OBS-URL: https://build.opensuse.org/request/show/1190182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=126
2024-07-29 19:52:52 +00:00
05f3a7ea2c Accepting request 1190176 from home:bmwiedemann:branches:security
Add upstream 1305.patch to fix tests (boo#1102840, https://github.com/Cisco-Talos/clamav/issues/1300)

Note: it uses git apply for the binary patch of test.exe

OBS-URL: https://build.opensuse.org/request/show/1190176
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=261
2024-07-29 08:05:33 +00:00
69978eb240 Accepting request 1184343 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1184343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=125
2024-07-02 16:17:36 +00:00
4c10be06a5 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=259 2024-06-24 15:32:35 +00:00
16311c30d2 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=258 2024-06-21 11:01:38 +00:00
e9217ee751 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=257 2024-06-21 07:20:21 +00:00
428f425db1 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=256 2024-06-20 13:25:04 +00:00
c339701434 fix build on Factory
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=255
2024-06-19 15:20:48 +00:00
d542431625 - New Version: 1.3.1:
* CVE-2024-20380: Fixed a possible crash in the HTML file parser
    that could cause a denial-of-service (DoS) condition.
  * Updated select Rust dependencies to the latest versions.
  * Fixed a bug causing some text to be truncated when converting
    from UTF-16.
  * Fixed assorted complaints identified by Coverity static
    analysis.
  * Fixed a bug causing CVDs downloaded by the DatabaseCustomURL
    Freshclam config option to be pruned and then re-downloaded
    with every update.
  * Added the new 'valhalla' database name to the list of optional
    databases in preparation for future work.
- Drop clamav-disable-yara.patch as yara cannot be disabled anymore

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=254
2024-04-22 15:34:13 +00:00
8470c3f7d9 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=253 2024-04-04 15:07:42 +00:00
a6511d1cc9 Accepting request 1161540 from home:rmax:branches:security
- New version: 1.3.0:
  * Added support for extracting and scanning attachments found in
    Microsoft OneNote section files. OneNote parsing will be
    enabled by default, but may be optionally disabled.
  * Added file type recognition for compiled Python (`.pyc`) files.
  * Improved support for decrypting PDFs with empty passwords.
  * Fixed a warning when scanning some HTML files.
  * ClamOnAcc: Fixed an infinite loop when a watched directory
    does not exist.
  * ClamOnAcc: Fixed an infinite loop when a file has been deleted
    before a scan.
- Use %patch -P N instead of deprecated %patchN.
- New version: 1.2.0:
  * Added support for extracting Universal Disk Format (UDF)
    partitions.
  * Added an option to customize the size of ClamAV's clean file
    cache.
  * Raised the MaxScanSize limit so the total amount of data
    scanned when scanning a file or archive may exceed 4 gigabytes.
  * Added ability for Freshclam to use a client certificate PEM
    file and a private key PEM file for authentication to a private
    mirror.
  * Fix an issue extracting files from ISO9660 partitions where the
    files are listed in the plain ISO tree and there also exists an
    empty Joliet tree.
  * PID and socket are now located under /run/clamav/clamd.pid and
    /run/clamav/clamd.sock .
  * bsc#1211594: Fixed an issue where ClamAV does not abort the
    signature load process after partially loading an invalid
    signature.

OBS-URL: https://build.opensuse.org/request/show/1161540
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=252
2024-03-25 18:13:50 +00:00
a0f319e295 Accepting request 1151661 from security
OBS-URL: https://build.opensuse.org/request/show/1151661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=124
2024-02-26 18:48:32 +00:00