Commit Graph

132 Commits

Author SHA256 Message Date
Reinhard Max
c59655e8e2 - Unclutter the spec file.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=175
2018-07-31 12:08:01 +00:00
Reinhard Max
c8e2e69a0c Remove clutter
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=174
2018-07-31 09:13:16 +00:00
Reinhard Max
57aad7711c - bsc#1101654: Disable YARA support for licensing reasons
(clamav-disable-yara.patch).
- Do not ignore errors from useradd et al.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=173
2018-07-31 08:58:20 +00:00
Reinhard Max
047b23765b - Disable YARA support for licensing reasons (bsc#1101654).
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=172
2018-07-30 11:28:31 +00:00
Reinhard Max
fc65c3a5de Accepting request 625316 from home:pluskalm:branches:security
- Update dendencies (pcre2, libjson-c and systemd)
- Modernise spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/625316
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=171
2018-07-26 09:55:19 +00:00
7af09fc2e8 bugzilla refs
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=170
2018-07-17 21:45:40 +00:00
6146a1ccb6 Accepting request 623475 from home:AndreasStieger:branches:security
- fix library-without-ldconfig warnings on libclammspack

OBS-URL: https://build.opensuse.org/request/show/623475
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=169
2018-07-17 21:41:52 +00:00
1ca8804a22 Accepting request 622505 from home:EGDFree:branches:security
- Update to version 0.100.1
  * CVE-2017-16932: Vulnerability in libxml2 dependency (affects
    ClamAV on Windows only).
  * CVE-2018-0360: HWP integer overflow, infinite loop
    vulnerability. Reported by Secunia Research at Flexera.
  * CVE-2018-0361: ClamAV PDF object length check, unreasonably
    long time to parse relatively small file. Reported by aCaB.
  * Buffer over-read in unRAR code due to missing max value checks
    in table initialization. Reported by Rui Reis.
  * Libmspack heap buffer over-read in CHM parser. Reported by
    Hanno Böck.
  * Buffer length checks when reading integers from non-NULL
    terminated strings.
  * Buffer length tracking when reading strings from dictionary
    objects.
  * HTTPS support for clamsubmit.
  * Fix for DNS resolution for users on IPv4-only machines where
    IPv6 is not available or is link-local only. Patch provided by
    Guilherme Benkenstein.

OBS-URL: https://build.opensuse.org/request/show/622505
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=168
2018-07-17 21:41:32 +00:00
Reinhard Max
f1110218c2 - Turn off LLVM for now, because the bundled copy is deprecated,
the versions we have are too new and the performance gain over
  the  byte code interpreter are negligable, according to upstream.
- Put libclammspack0 into its own subpackage to follow the letter
  of the shlib packaging policy, even though it really makes no
  sense here.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=166
2018-04-26 15:39:59 +00:00
Reinhard Max
365105a77e - Move pkgconfig stuff from main to devel package.
- Re-introduce removed options as deprecated, so that clamd and
  freshclam don't exit on startup with an old config file
  (clamav-obsolete-config.patch).

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=165
2018-04-18 14:49:27 +00:00
Reinhard Max
f9901db0ae OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=164 2018-04-18 11:48:19 +00:00
Reinhard Max
c0e27f9707 - On update, remove obsolete option SubmitDetectionStats from
/etc/freshclam.conf otherwise freshclam refuses to start.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=163
2018-04-18 08:35:09 +00:00
Reinhard Max
d2722d834a * Add interfaces to the Prelude SIEM open source package for
collecting ClamAV virus events.
  * Support libmspack internal code or as a shared object
    library. The internal library is the default and includes
    modifications to enable parsing of CAB files that do not
    entirely adhere to the CAB file format.
  * Link with OpenSSL 1.1.0.
  * Deprecate of the AllowSupplementaryGroups parameter
    statement in clamd, clamav-milter, and freshclam.
    Use of supplementary is now in effect by default.
  * Deprecate internal LLVM code support.
  * Compute and check PE import table hash (a.k.a. "imphash")
    signatures.
  * Support file property collection and analysis for MHTML files.
  * Raw scanning of PostScript files.
  * Fix clamsubmit to use the new virus and false positive
    submission web interface.
  * Optionally, flag files with the virus
    "Heuristic.Limits.Exceeded" when size limitations are exceeded.
  * Improved decoders for PDF files.
  * Reduced number of compile time warnings.
  * Improved support for C++11.
  * Improved detection of system installed libraries.
  * Fixes to ClamAV's Container system and the introduction of
    Intermediates for more descriptive signatures.
  * Improvements to clamd's On-Access scanning capabilities
    for Linux.
- Use system-wide LLVM instead of the deprecated bundled one.
- Move pkgconfig stuff the main to the devel package.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=162
2018-04-16 14:01:29 +00:00
Reinhard Max
506c87a397 - Update to version 0.100.0 (bsc#1089502):
* FIXME: Add upstream changes here before submitting to Factory.
  * Obsoletes clamav-fix_newer_zlib.patch
- Update key ring and add signature file.
- Remove the logic around building the embedded llvm as the
  system-wide llvm is now auto-detected and used.
- Move pc files from the main to the devel package.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=161
2018-04-13 15:16:49 +00:00
Reinhard Max
1c2fe924d1 - Update to security release 0.99.4 (bsc#1083915):
* CVE-2012-6706
  * CVE-2017-6419
  * CVE-2017-11423
  * CVE-2018-1000085 (bsc#1082858)
  * CVE-2018-0202
- Obsolete patches:
  * clamav-CVE-2012-6706.patch
  * clamav-gcc47.patch

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=159
2018-03-07 13:46:42 +00:00
Reinhard Max
5c457ced49 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=157 2018-02-14 13:00:35 +00:00
Reinhard Max
469ac1b379 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=156 2018-02-14 13:00:00 +00:00
Reinhard Max
55bf9502fd - Fix zlib version detection (clamav-zlib-version.patch).
- bsc#1045490, CVE-2012-6706: VMSF_DELTA filter in libclamunrar
  allows arbitrary memory write (clamav-CVE-2012-6706.patch).
- Buildrequire curl-devel to enable clamsubmit.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=155
2018-02-14 12:23:33 +00:00
Reinhard Max
0165340747 Accepting request 576006 from home:varkoly:branches:security
- bsc=983938 `After=syslog.target` left-overs in several unit files

OBS-URL: https://build.opensuse.org/request/show/576006
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=153
2018-02-14 00:04:03 +00:00
06d9b1e3a6 Accepting request 569976 from home:vitezslav_cizek:branches:security
- Update to security release 0.99.3 (bsc#1077732)
  * CVE-2017-12376 (ClamAV Buffer Overflow in handle_pdfname Vulnerability)
  * CVE-2017-12377 (ClamAV Mew Packet Heap Overflow Vulnerability)
  * CVE-2017-12379 (ClamAV Buffer Overflow in messageAddArgument Vulnerability)
    - these vulnerabilities could have allowed an unauthenticated,
      remote attacker to cause a denial of service (DoS) condition
      or potentially execute arbitrary code on an affected device.
  * CVE-2017-12374 (ClamAV use-after-free Vulnerabilities)
  * CVE-2017-12375 (ClamAV Buffer Overflow Vulnerability)
  * CVE-2017-12378 (ClamAV Buffer Over Read Vulnerability)
  * CVE-2017-12380 (ClamAV Null Dereference Vulnerability)
    - these vulnerabilities could have allowed an unauthenticated,
      remote attacker to cause a denial of service (DoS) condition on an affected device.
  * CVE-2017-6420 (bsc#1052448)
    - this vulnerability allowed remote attackers to cause a denial of service
      (use-after-free) via a crafted PE file with WWPack compression.
  * CVE-2017-6419 (bsc#1052449)
    - ClamAV allowed remote attackers to cause a denial of service
      (heap-based buffer overflow and application crash) or possibly
      have unspecified other impact via a crafted CHM file.
  * CVE-2017-11423 (bsc#1049423)
    - The cabd_read_string function in mspack/cabd.c in libmspack 0.5alpha
      allowed remote attackers to cause a denial of service
      (stack-based buffer over-read and application crash) via a crafted CAB file.
  * CVE-2017-6418 (bsc#1052466)
    - ClamAV 0.99.2 allowed remote attackers to cause a denial
      of service (out-of-bounds read) via a crafted e-mail message.
- drop clamav-0.99.2-openssl-1.1.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/569976
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=151
2018-01-26 16:21:11 +00:00
Reinhard Max
0ec309c207 Accepting request 546167 from home:msmeissn:branches:security
- clamav-0.99.2-openssl-1.1.patch: fixed build against openssl 1.1

OBS-URL: https://build.opensuse.org/request/show/546167
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=149
2017-11-28 09:00:11 +00:00
cb4029f851 Accepting request 521576 from home:jengelh:branches:security
- Implement shared library guideline.
+Change that old %makeinstall to modern %make_install

OBS-URL: https://build.opensuse.org/request/show/521576
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=147
2017-10-07 10:09:49 +00:00
Reinhard Max
aff26ed73c Accepting request 519486 from home:favogt:branches:security
- Add clamav-fix_newer_zlib.patch from ubuntu packages to fix build with
  zlib 1.2.11 (boo#1041201)

OBS-URL: https://build.opensuse.org/request/show/519486
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=145
2017-09-05 14:59:05 +00:00
Ruediger Oertel
dcb0ebcbe3 - pass --disable-zlib-vcheck to fix build in factory
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=144
2017-08-01 16:41:00 +00:00
Reinhard Max
d24defc9c8 Accepting request 499026 from home:AndreasStieger:branches:security
- provide and obsolete clamav-nodb to trigger it's removal in Leap
  bsc#1040662

OBS-URL: https://build.opensuse.org/request/show/499026
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=143
2017-05-29 18:25:35 +00:00
Reinhard Max
8c0618ad69 dependent macros if passed to configure.
(bsc#1001154, clamav-disable-timestamps.patch)

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=141
2016-11-11 08:40:20 +00:00
a52ab80012 Accepting request 439481 from home:faweiss:branches:security
OBS-URL: https://build.opensuse.org/request/show/439481
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=140
2016-11-10 22:34:49 +00:00
Reinhard Max
8ffab86af0 - boo#991812: Remove obsolete dependency on latex2html-pngicons.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=138
2016-08-03 09:03:14 +00:00
03195f5e0f Accepting request 414589 from home:jengelh:branches:security
- Trim useless words from description and fix spellos.
  Test for user/group existence before adding and always show
  errors when they occur.

OBS-URL: https://build.opensuse.org/request/show/414589
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=137
2016-07-29 11:05:50 +00:00
Reinhard Max
87325daaab Accepting request 412543 from home:faweiss:branches:security
OBS-URL: https://build.opensuse.org/request/show/412543
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=135
2016-07-21 14:03:06 +00:00
Reinhard Max
6a684a8b5a Fix sourc URL
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=133
2016-06-23 08:08:28 +00:00
Reinhard Max
474d811537 Accepting request 404152 from home:faweiss:branches:security
OBS-URL: https://build.opensuse.org/request/show/404152
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=132
2016-06-23 07:56:59 +00:00
7988b83fbe Accepting request 402898 from home:marxin:branches:security
Change default C++ std to -std=gnu++98.

OBS-URL: https://build.opensuse.org/request/show/402898
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=130
2016-06-17 13:53:52 +00:00
Reinhard Max
2043ee586a Accepting request 367392 from home:ecsos
update to 0.99.1, fix changelog

OBS-URL: https://build.opensuse.org/request/show/367392
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=128
2016-03-07 10:26:37 +00:00
29ad975c7c Accepting request 350864 from home:msmeissn:branches:security
- now can handle regexp using signatures using pcre bsc#960237

OBS-URL: https://build.opensuse.org/request/show/350864
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=126
2016-01-13 18:12:46 +00:00
Reinhard Max
87cacf65b5 - Version 0.99 fixes bsc#957728.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=123
2015-12-03 14:17:30 +00:00
a61d1ae6c8 Accepting request 347175 from home:posophe:branches:security
update + clean-up

OBS-URL: https://build.opensuse.org/request/show/347175
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=122
2015-12-02 16:24:31 +00:00
Reinhard Max
d1e009b238 Accepting request 314711 from home:pluskalm:branches:security
- Make clamd and clamav-milter services depend on freshclam as
  they need it

OBS-URL: https://build.opensuse.org/request/show/314711
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=120
2015-07-01 13:01:41 +00:00
Reinhard Max
116d5ae918 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=118 2015-05-06 12:57:46 +00:00
Reinhard Max
820d5ab130 - Version 0.98.7 fixes several security issues (bsc#929192) and
other bug fixes/improvements:
  * Fix crash in upx decoder with crafted file. Discovered and
    patch supplied by Sebastian Andrzej Siewior. CVE-2015-2170.
  * Fix infinite loop condition on crafted y0da cryptor
    file. Identified and patch suggested by Sebastian Andrzej
    Siewior. CVE-2015-2221.
  * Fix crash on crafted petite packed file. Reported and patch
    supplied by Sebastian Andrzej Siewior. CVE-2015-2222.
  * Fix an infinite loop condition on a crafted "xz" archive file.
    This was reported by Dimitri Kirchner and Goulven Guiheux.
    CVE-2015-2668.
  * Apply upstream patch for possible heap overflow in Henry
    Spencer's regex library. CVE-2015-2305.
  * Fix false negatives on files within iso9660 containers. This
    issue was reported by Minzhuan Gong.
  * Fix a couple crashes on crafted upack packed file. Identified
    and patches supplied by Sebastian Andrzej Siewior.
  * Fix a crash during algorithmic detection on crafted PE file.
    Identified and patch supplied by Sebastian Andrzej Siewior.
  * Fix compilation error after ./configure --disable-pthreads.
    Reported and fix suggested by John E. Krokes.
  * Fix segfault scanning certain HTML files. Reported with sample
    by Kai Risku.
  * Improve detections within xar/pkg files.
  * Improvements to PDF processing: decryption, escape sequence
    handling, and file property collection.
  * Scanning/analysis of additional Microsoft Office 2003 XML
    format.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=117
2015-05-05 17:04:23 +00:00
Reinhard Max
e02bbc5b40 - Version 0.98.6 fixes several security issues:
* bsc#916217, CVE-2015-1461: Remote attackers can have
    unspecified impact via Yoda's crypter or mew packer files.
  * bsc#916214, CVE-2015-1462: Unspecified impact via acrafted upx
    packer file.
  * bsc#916215, CVE-2015-1463: Remote attackers can cause a denial
    of service via a crafted petite packer file.
  * bsc#915512, CVE-2014-9328: heap out of bounds condition with
    crafted upack packer files.
- Obsoletes clamav-soname.patch

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=115
2015-02-05 11:43:54 +00:00
Reinhard Max
9f9980f068 - Don't need sendmail for building clamav-milter anymore,
sendmail-devel is enough (bnc#915414).

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=113
2015-01-30 15:22:56 +00:00
Reinhard Max
8bcbc54867 Mention new patch in changes file
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=112
2015-01-23 16:29:49 +00:00
Reinhard Max
99c3101ce3 - bnc#914505: Config file merging and temp file creation got moved
to %pre by mistake. Put them back to %post.
- Restore the updateclamconf script (bnc#908731).
- Fix a step backwards in the soname version from 0.98.4 to 0.98.5
  (https://bugzilla.clamav.net/show_bug.cgi?id=11193).

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=111
2015-01-23 14:07:57 +00:00
b85a1eb8ca Accepting request 266991 from home:msmeissn:branches:security
- build with PIE

OBS-URL: https://build.opensuse.org/request/show/266991
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=109
2015-01-02 08:49:36 +00:00
Reinhard Max
82b4700cc8 Version 0.98.5
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=107
2014-11-19 15:50:31 +00:00
1bc819d92e Accepting request 260428 from home:Ledest:misc
fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260428
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=105
2014-11-10 10:17:19 +00:00
Reinhard Max
9354c3737c Preliminary checkin fixing various security holes.
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=103
2014-06-26 15:35:06 +00:00
Reinhard Max
9eebf39f01 - Fix dangling symlink in documentation (bnc#872682).
- Remove init scripts and complete systemd integration.
- Remove %ghost entry for /var/run/clamav.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=101
2014-06-12 13:36:29 +00:00
Reinhard Max
019b469993 - Version 0.98.3
OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=99
2014-05-08 15:21:16 +00:00