Accepting request 883689 from home:adkorte
- Update to 0.103.2 * CVE-2021-1386: Fix for UnRAR DLL load privilege escalation. Affects 0.103.1 and prior on Windows only. * CVE-2021-1252: Fix for Excel XLM parser infinite loop. Affects 0.103.0 and 0.103.1 only. * CVE-2021-1404: Fix for PDF parser buffer over-read; possible crash. Affects 0.103.0 and 0.103.1 only. * CVE-2021-1405: Fix for mail parser NULL-dereference crash. Affects 0.103.1 and prior. * Fix possible memory leak in PNG parser. * Fix ClamOnAcc scan on file-creation race condition so files are scanned after their contents are written. * FreshClam: Deprecate the SafeBrowsing config option. The SafeBrowsing option will no longer do anything. * For more details, see our blog post from last year about the future of the ClamAV Safe Browsing database. * FreshClam: Improved HTTP 304, 403, & 429 handling. * FreshClam: Added back the mirrors.dat file to the database directory. * FreshClam will now exit with a failure in daemon mode if an HTTP 403 (Forbidden) was received, because retrying later won't help any. The FreshClam user will have to take actions to get unblocked. * Fix the FreshClam mirror-sync issue where a downloaded database is "older than the version advertised." - Update package signing key (from https://www.clamav.net/downloads) % clamav.keyring - Package clamav-milter in a subpackage - Remove virus signatures upon uninstall - Check for database existence before starting clamd - Restart clamd when it exits OBS-URL: https://build.opensuse.org/request/show/883689 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=219
This commit is contained in:
parent
50d583a507
commit
b6dec3dc1b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7308c47b89b268af3b9f36140528927a49ff3e633a9c9c0aac2712d81056e257
|
||||
size 13369791
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIcBAABAgAGBQJgGVyXAAoJEPE/nha8pb+tmvIP/2eluegyIzQ88Q0LJv/WTPpF
|
||||
t02op8hnzbM/79gglU1bCdfuXLS9/OkT1QBM71xjndn/qN4/9gp7E3nd4dX+6MJB
|
||||
YnfUx5atx6faxFs10hfVYrZBD/AYwtXlAAJpuEwB6iyJtDEUgBapQNGkeULuw2iO
|
||||
gvuxDc7U8Tu+BjyDgPESxRtd6p5/3tMoXGhKTnYaOILEwveLgKvSJLv47d/Ew4EW
|
||||
NU6m9erw4jumCm2qvkIyziZcjMSORiCGoyI9fXBWDADbXVTIYsOqSknshP3Om6He
|
||||
lqNdrkok7pk6AsSY1PAepsPt6BT6n3MuZJKFU3/iHZLqqyL97Y/IaqzvSJj5q0++
|
||||
sy0ljsU88YIdV7bhJnN7khkpkq3DYsrZVg+nCyIoQ9iErNdwBWXGsgcclBSrwzDy
|
||||
5UUz3MJvliqG9FKC5Va3BiHvK35d41Q99jZG0X9huSs+Atj0t1FkrOScnj+ZZd1E
|
||||
OJKUYn7Pnb7asacJLOeCqCVuJaOsNSjidv1jtdwAEcOMbnwatHU0WVYlzqaxMpBh
|
||||
WXXy0tR2Bpv7SjejV4F4LMNOux0v1gTogQ0iKRIk2FUtRpeLAXvnm3UrqB/bJyc+
|
||||
nx1s4+kUJo2PLhJN8XzbPpMEm5fymnPnuVQH5qjmJ6/WPxws+tKi0b4DuWOnlzxQ
|
||||
r8r7QDor+YJ3F7BTPPay
|
||||
=5QiJ
|
||||
-----END PGP SIGNATURE-----
|
3
clamav-0.103.2.tar.gz
Normal file
3
clamav-0.103.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4b5d0ac666262e423a326fb54778caa7c69624d6c3f9542895feb8478271bd2
|
||||
size 13387954
|
16
clamav-0.103.2.tar.gz.sig
Normal file
16
clamav-0.103.2.tar.gz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIcBAABAgAGBQJgba4lAAoJEGCbAk8rPt0H5r4P/jeT1CCWK56iYedEZbCJ7QDi
|
||||
Oax1D/rynYXp4HJYksAFexCUDQ8L4Aj1UAVDtfAKDrsiE1xkR/EJso+ht3gisOen
|
||||
C/iAhemGZh/cUdrMEBMyPatym4jzeiJ7Cwx5Zf/3viyHQWGvWKqIWINJvkmRZOSu
|
||||
Whw7WqlXOzgdRFtwQ+gQKdPotguhKJdBomj2ODUMGtEn/suIihmIQYfnE6XMubao
|
||||
7N4PGnGa8DGcN/uDVpPrWtHXq2WQ78W//o/s44OxabKnZrmCMu2TZbB0IsrivYfa
|
||||
qgEuVfOEU+v0QX/KZl463t1ZLFJ7VoFf48Uf0RQ+Xsb6xEYWZenTPsq37oG+fV9T
|
||||
lz8p6woeyHPU6fZfxl4+9RUhWi1hwWjW2Nhd0Zm9YLbImgKvDU3dg2nyvOihZX8w
|
||||
vyb8iA1AvzJ0uSgqABY1wLL4bZDpgb/1vQkYahOypOvZ/PaNs+9gWiowkpcsq1l0
|
||||
VitOgr3UdkA8InsSaRwY77E4rjXl7kC7TTA7j9JtMxBGDfAYym0O2OGf2s6J7gmB
|
||||
rYxdHc0jpTeZO5w/ku6M10uCBJDqO8ILWbvxHF7i4VCuuupeWUDCKrGd9wNS4hmg
|
||||
i7pyKa9b1HAzODfDhBiBXAuTaND0NywlmwVq/GPVAWLcZJcvl2ORliqDfZBzPfiU
|
||||
lUafz0W54+2DS0ujPbK4
|
||||
=99oG
|
||||
-----END PGP SIGNATURE-----
|
@ -151,7 +151,7 @@
|
||||
-#DatabaseOwner clamav
|
||||
+DatabaseOwner vscan
|
||||
|
||||
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
|
||||
# Use DNS to verify virus database version. FreshClam uses DNS TXT records
|
||||
# to verify database and software versions. With this directive you can change
|
||||
@@ -127,7 +123,7 @@ DatabaseMirror database.clamav.net
|
||||
|
||||
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 20:05:49 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- Update to 0.103.2
|
||||
* CVE-2021-1386: Fix for UnRAR DLL load privilege escalation.
|
||||
Affects 0.103.1 and prior on Windows only.
|
||||
* CVE-2021-1252: Fix for Excel XLM parser infinite loop. Affects
|
||||
0.103.0 and 0.103.1 only.
|
||||
* CVE-2021-1404: Fix for PDF parser buffer over-read; possible
|
||||
crash. Affects 0.103.0 and 0.103.1 only.
|
||||
* CVE-2021-1405: Fix for mail parser NULL-dereference crash.
|
||||
Affects 0.103.1 and prior.
|
||||
* Fix possible memory leak in PNG parser.
|
||||
* Fix ClamOnAcc scan on file-creation race condition so files are
|
||||
scanned after their contents are written.
|
||||
* FreshClam: Deprecate the SafeBrowsing config option. The
|
||||
SafeBrowsing option will no longer do anything.
|
||||
* For more details, see our blog post from last year about the
|
||||
future of the ClamAV Safe Browsing database.
|
||||
* FreshClam: Improved HTTP 304, 403, & 429 handling.
|
||||
* FreshClam: Added back the mirrors.dat file to the database directory.
|
||||
* FreshClam will now exit with a failure in daemon mode if an HTTP 403
|
||||
(Forbidden) was received, because retrying later won't help any. The
|
||||
FreshClam user will have to take actions to get unblocked.
|
||||
* Fix the FreshClam mirror-sync issue where a downloaded database is
|
||||
"older than the version advertised."
|
||||
- Update package signing key (from https://www.clamav.net/downloads)
|
||||
% clamav.keyring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 13:48:51 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- Package clamav-milter in a subpackage
|
||||
- Remove virus signatures upon uninstall
|
||||
- Check for database existence before starting clamd
|
||||
- Restart clamd when it exits
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 9 16:00:25 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
@ -8,6 +45,8 @@ Tue Feb 9 16:00:25 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
% clamav-conf.patch
|
||||
- Remove obsolete patch (replaced by SOURCE_DATE_EPOCH)
|
||||
- clamav-disable-timestamps.patch
|
||||
- Fix unit test
|
||||
+ clamav-ck_assert_msg.patch
|
||||
- Cleanup spec
|
||||
* use pkgconfig() to resolve BuildRequires where upstream uses it
|
||||
* rework creating vscan user (new system-user in Tumbleweed)
|
||||
|
106
clamav.keyring
106
clamav.keyring
@ -1,52 +1,64 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFj3nAABEADRS+B5sv1AnRBvf8dLFd9zuXjFc7e+laeTKcGUKhM4AV8G2qJU
|
||||
wfQFu35J8D5PkTit/qCYCpnrcE9gR1tTvhSDy0ekWfNlqzukfLRvL5VuMq08+ebz
|
||||
3QaQP2lvBzhw5afInLSfu1xjMHdd6048kGUOCGQjBZpNd0tOt0QNfoqTUzAN0Jaq
|
||||
lWnbjGm2kIxD6gyugG031TCcRE+ck9dxg67KEEXlGNmpUF6GWrozB+tRKt9VP/hc
|
||||
db/Qyri3DIEI1RJlSJhBrbasSBbSkBaH0mDOQ3NAxfq95/2rY/K0kg1o8YsxVKvz
|
||||
p1FLE/3Cwxbs81JLtvrrapfmFZFOSahBLyMFDLet7y+m7r8fUMjj7bSeWwIsGcPa
|
||||
Jh+mYEZOibJkgQcgcFE3vP+Px9mXa99VmD0iVj8wIt4sVGxjKnRr4oWpD4/A3E4+
|
||||
KjxKapnrE45WciSjakxtBMl3ltbT3F+D4Tpnq2ijL7pwMlNreeguIeVDFGd+jvYY
|
||||
m5dGfjmFQhZ29Fp+VDHjhkbDx0JILJF2YRofcml4Z+B3Hwqr1JQetGYiDVOZCEUZ
|
||||
V4dVmhUBsEfbznXT7+SsV+u34F3IOVs7m0bQb2ty3unlUGmEoP2LVPzWZWHQN4vu
|
||||
X41e0t+3dZCurMvCLdU2V4XIGCwACAF5WFhx9xPmZdmSAYjIjRKu3KSy1QARAQAB
|
||||
mQINBGBjkiwBEADgJTEabt5zCareK9pJJswGU62smrq3uOaaDhtgztj3bxRY/UGT
|
||||
jypxMee1S/fGWQZQy52lFOXLud5gFC5QU8Yk+7EAsh2ZJSKtWUw8/iMxZ4vsrKVV
|
||||
QQRLTqMUY16R6/8UzdIT/hD6CbgWgiXF4NH5AGleNqjkF4TXrGof0AK0veekZYJV
|
||||
WWStqJR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nleHpRueRUPC/5XX0DNznSj
|
||||
F10vAh4XtBKGBNaHU9VvnMXlYeJ9kCMdSs7cM4FfLFMtPkFwpDYhvQRAEwt11RV6
|
||||
bGo5ZCgGrHGIBlNk6ZSO1hP15hUtkWU7ABEBAAGJAiUEGAECAA8FAmBjkiwCGwwF
|
||||
CQPCZwAACgkQYJsCTys+3QfI7Q//Sb2yotfcsG5Q2FkHRBE85su01c6pewImV9bo
|
||||
fNhATSQ37yVHUDrchm+kY6Pq5Tdgg+eAMcYz2yv9JhFxJyzgI0viQrkjD7oXeRTG
|
||||
Z0CvzxHhTakAOADXAnYtwmJglEBTCCbUZ968kQkdBxEaUjVWPCMyIceRr8kUfiCj
|
||||
X51+DLESy8b5lOBhprO6vDukk/rmDruIpJPhJ3f89gsp2Ry7gk7a5ENIuVEElLK6
|
||||
OPBZhC3dDZwsvm5CYb62+U/b1xtmElpgGbNJCjxvAZiJ0WN2zfBXan+SJ4I9NFUw
|
||||
9jvSURvDV24s4YPhkbZuOIqQEEYF8QMZ1VJlsr7BoWIXrdKDNJbmEVyx3UiYXKD1
|
||||
BVXCQADPu8G8EPuo4yAfWymJAOJbAqNF2Op6+sC7/v8Xcgc3PGGyu23cZwikfCAg
|
||||
V+beywTPI5+eVV5F/rpxXOlvNxT0NOg3UOeQ9GvCbD5ZcuDzmhqso0eMABeq5K5X
|
||||
B12xlWNaTZsIt8Dim4uKaKMGeB+6iygkHITbay0sMUo0dX6nT27bjX5dTBo/vnVA
|
||||
PYuCS6rh8ojalR1fYFKA1zdeSaJ2EW5KmgC9yedylSbHdQ+LjSY3t/Ut4RYaekID
|
||||
eGmVoQkJkL7gIAs8NOYwG3ayr0AtmeMagAMy94NH5ufVgFk+QPmXpzS7rMLQ3Is1
|
||||
ZOuWNrQ=
|
||||
=NP/0
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
|
82
clamav.spec
82
clamav.spec
@ -19,7 +19,7 @@
|
||||
%bcond_with clammspack
|
||||
%bcond_with valgrind
|
||||
Name: clamav
|
||||
Version: 0.103.1
|
||||
Version: 0.103.2
|
||||
Release: 0
|
||||
Summary: Antivirus Toolkit
|
||||
License: GPL-2.0-only
|
||||
@ -54,6 +54,7 @@ BuildRequires: pkgconfig(check)
|
||||
BuildRequires: pkgconfig(libpcre2-8) >= 10.30
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Recommends: %{name}-milter = %{version}
|
||||
#
|
||||
# Workaround to keep "make check" from using an existing libclamav
|
||||
# instead of the just built one. This should rather be fixed
|
||||
@ -89,6 +90,19 @@ provides numerous file format detection mechanisms, file unpacking
|
||||
support, archive support, and multiple signature languages for
|
||||
detecting threats.
|
||||
|
||||
%package milter
|
||||
Summary: ClamAV Milter compatible mail scanner
|
||||
Group: Productivity/Security
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description milter
|
||||
ClamAV-milter is a filter for sendmail(1) mail server. It uses a
|
||||
mail scanning engine built into clamd(8). ClamAV-milter can use
|
||||
load balancing and fault tolerant techniques to connect to more
|
||||
than one clamd(8) server and seamlessly hot-swap to even the load
|
||||
between different machines and to keep scanning for viruses even
|
||||
when a server goes down.
|
||||
|
||||
%package -n libclamav9
|
||||
Summary: ClamAV antivirus engine runtime
|
||||
Group: System/Libraries
|
||||
@ -207,19 +221,36 @@ make check VG=1
|
||||
%if 0%{?suse_version} > 1500
|
||||
%pre
|
||||
%else
|
||||
|
||||
%pre -f vscan.pre
|
||||
%endif
|
||||
%service_add_pre clamd.service clamav-milter.service
|
||||
%service_add_pre clamd.service
|
||||
|
||||
%post
|
||||
%tmpfiles_create %{_tmpfilesdir}/clamav.conf
|
||||
%service_add_post clamd.service clamav-milter.service
|
||||
%service_add_post clamd.service
|
||||
|
||||
%preun
|
||||
%service_del_preun clamd.service clamav-milter.service
|
||||
if [ $1 -eq 0 ]; then
|
||||
# package will be uninstalled
|
||||
rm -f %{_localstatedir}/lib/clamav/*
|
||||
fi
|
||||
%service_del_preun clamd.service
|
||||
|
||||
%postun
|
||||
%service_del_postun clamd.service clamav-milter.service
|
||||
%service_del_postun clamd.service
|
||||
|
||||
%pre milter
|
||||
%service_add_pre clamav-milter.service
|
||||
|
||||
%post milter
|
||||
%service_add_post clamav-milter.service
|
||||
|
||||
%preun milter
|
||||
%service_del_preun clamav-milter.service
|
||||
|
||||
%postun milter
|
||||
%service_del_postun clamav-milter.service
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%ldconfig_scriptlets -n libclamav9
|
||||
@ -241,16 +272,37 @@ make check VG=1
|
||||
%files
|
||||
%license COPYING*
|
||||
%doc docs/html/*
|
||||
%config(noreplace) %{_sysconfdir}/*.conf
|
||||
#systemd...
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/man?/*
|
||||
%config(noreplace) %{_sysconfdir}/clamd.conf
|
||||
%config(noreplace) %{_sysconfdir}/freshclam.conf
|
||||
%{_bindir}/clamav-config
|
||||
%{_bindir}/clambc
|
||||
%{_bindir}/clamconf
|
||||
%{_bindir}/clamdscan
|
||||
%{_bindir}/clamdtop
|
||||
%{_bindir}/clamscan
|
||||
%{_bindir}/clamsubmit
|
||||
%{_bindir}/freshclam
|
||||
%{_bindir}/sigtool
|
||||
%{_sbindir}/clamd
|
||||
%{_sbindir}/clamonacc
|
||||
%{_sbindir}/rcclamd
|
||||
%{_sbindir}/rcfreshclam
|
||||
%{_mandir}/man1/clambc.1%{?ext_man}
|
||||
%{_mandir}/man1/clamconf.1%{?ext_man}
|
||||
%{_mandir}/man1/clamdscan.1%{?ext_man}
|
||||
%{_mandir}/man1/clamdtop.1%{?ext_man}
|
||||
%{_mandir}/man1/clamscan.1%{?ext_man}
|
||||
%{_mandir}/man1/clamsubmit.1%{?ext_man}
|
||||
%{_mandir}/man1/freshclam.1%{?ext_man}
|
||||
%{_mandir}/man1/sigtool.1%{?ext_man}
|
||||
%{_mandir}/man5/clamd.conf.5%{?ext_man}
|
||||
%{_mandir}/man5/freshclam.conf.5%{?ext_man}
|
||||
%{_mandir}/man8/clamd.8%{?ext_man}
|
||||
%{_mandir}/man8/clamonacc.8%{?ext_man}
|
||||
%{_tmpfilesdir}/*
|
||||
%{_unitdir}/clamd.service
|
||||
%{_unitdir}/freshclam.service
|
||||
%{_unitdir}/freshclam.timer
|
||||
%{_unitdir}/clamav-milter.service
|
||||
%defattr(-,vscan,vscan)
|
||||
%dir %{_localstatedir}/lib/clamav
|
||||
%if 0%{?suse_version} <= 1500
|
||||
@ -258,6 +310,14 @@ make check VG=1
|
||||
%endif
|
||||
%ghost %attr(755,vscan,vscan) /run/clamav
|
||||
|
||||
%files milter
|
||||
%config(noreplace) %{_sysconfdir}/clamav-milter.conf
|
||||
%{_unitdir}/clamav-milter.service
|
||||
%{_sbindir}/clamav-milter
|
||||
%{_sbindir}/rcclamav-milter
|
||||
%{_mandir}/man5/clamav-milter.conf.5%{?ext_man}
|
||||
%{_mandir}/man8/clamav-milter.8%{?ext_man}
|
||||
|
||||
%files -n libclamav9
|
||||
%{_libdir}/libclam*.so.9*
|
||||
|
||||
|
@ -1,12 +1,16 @@
|
||||
[Unit]
|
||||
Description=Clamav antivirus Deamon
|
||||
After=network.target freshclam.service
|
||||
Requires=freshclam.service
|
||||
Description=Clam AntiVirus userspace daemon
|
||||
Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/
|
||||
After=network.target
|
||||
# Check for database existence
|
||||
ConditionPathExistsGlob=/var/lib/clamav/main.{c[vl]d,inc}
|
||||
ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc}
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/clamd
|
||||
TimeoutStartSec=5min
|
||||
Restart=always
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
;User=vscan
|
||||
;Group=vscan
|
||||
|
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Freshclam virus definitions downloader
|
||||
After=network-online.target
|
||||
Description=Clam AntiVirus database updater
|
||||
Documentation=man:freshclam(1) man:freshclam.conf(5) https://www.clamav.net/documents/
|
||||
After=network-online.target nss-lookup.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
|
@ -2,6 +2,7 @@
|
||||
Description=Timer for freshclam virus definitions downloader
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5m
|
||||
OnUnitActiveSec=2h
|
||||
Persistent=true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user