Linux Security
Linux Security
Linux Security

Debian: clamav fix denial of service DSA-1616-1

Date 23 Jul 2008
3639
Posted By LinuxSecurity Advisories
Damian Put discovered a vulnerability in the ClamAV anti-virus toolkit's parsing of Petite-packed Win32 executables. The weakness leads to an invalid memory access, and could enable an attacker to crash clamav by supplying a maliciously crafted Petite-compressed binary for scanning. In some configurations, such as when clamav is used in combination with mail servers, this could cause a system to "fail open," facilitating a follow-on viral attack.
- ------------------------------------------------------------------------
Debian Security Advisory DSA-1616-1                  This email address is being protected from spambots. You need JavaScript enabled to view it.
https://www.debian.org/security/                           Devin Carraway
July 24, 2008                         https://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : clamav
Vulnerability  : denial of service
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2008-2713
Debian Bug     : 490925

Damian Put discovered a vulnerability in the ClamAV anti-virus
toolkit's parsing of Petite-packed Win32 executables.  The weakness
leads to an invalid memory access, and could enable an attacker to
crash clamav by supplying a maliciously crafted Petite-compressed
binary for scanning.  In some configurations, such as when clamav
is used in combination with mail servers, this could cause a system
to "fail open," facilitating a follow-on viral attack.

The Common Vulnerabilities and Exposures project identifies this
weakness as CVE-2008-2713.

For the stable distribution (etch), this problem has been fixed in
version 0.90.1dfsg-3etch13.  For the unstable distribution (sid), the
problem has been fixed in version 0.93.1.dfsg-1.1.

We recommend that you upgrade your clamav packages.

Upgrade instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 4.0 alias etch
- -------------------------------

Debian (stable)
- ---------------

Stable updates are available for alpha, amd64, arm, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13.diff.gz
    Size/MD5 checksum:   213572 2dbfd4ac08c7af42d86f14e36d51a1ba
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13.dsc
    Size/MD5 checksum:      900 1956339e5b45defa704f7428d2ca2b8a
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg.orig.tar.gz
    Size/MD5 checksum: 11610428 6dc18602b0aa653924d47316f9411e49

Architecture independent packages:

  https://security.debian.org/pool/updates/main/c/clamav/clamav-testfiles_0.90.1dfsg-3etch13_all.deb
    Size/MD5 checksum:   158352 06513119080bfa3ce5ef244fcfc692f4
  https://security.debian.org/pool/updates/main/c/clamav/clamav-docs_0.90.1dfsg-3etch13_all.deb
    Size/MD5 checksum:  1003920 067c6757b73dfe5a89ac3ad78d6bb467
  https://security.debian.org/pool/updates/main/c/clamav/clamav-base_0.90.1dfsg-3etch13_all.deb
    Size/MD5 checksum:   202110 4b03c3a6084dff2fa2915f651b05f5f3

alpha architecture (DEC Alpha)

  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   372734 b02f13a6b046e16b450c5aa28603270a
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   180766 908d8ba5f5b151eb8ea71616b19fd807
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   182574 23c6d7821e5fc5132211a17a23e65976
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   465116 d414094ddcaccdc223b3e887207cd64c
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   862164 6c6a9ab56700cc5f031194a0116119a4
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:  9305100 8fa282fe181b8c7c2a818926638d86e1
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_alpha.deb
    Size/MD5 checksum:   597442 d437e275a635d03438943bcd754091b7

amd64 architecture (AMD x86_64 (AMD64))

  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:  9302456 749d09d15673706504be022e5ab19cc1
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   593794 acd734b6ddebd1c6648c5ee4a809f911
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   341474 f497da61df358ff5a2c7127b1c0d2ea3
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   355644 cfe37443151e33521ab518f949008fc0
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   178880 81f2aebdcc0e10343c811488691c9b2e
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   177968 6ffbaf669737868284cda847b7b4de8f
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_amd64.deb
    Size/MD5 checksum:   856974 30a64aadcef84a5241d18cb669d55431

arm architecture (ARM)

  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   336226 46964d05954b2ff7d5d0791614c0194e
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:  9299564 fe0f3ad0b1be34898583b66c5ebbf542
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   175804 456f92e49076d4ddd31e5862c81564d2
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   853740 3cd48a7cdfdd820d2aaecc1357a05491
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   554038 16515a5a4948051bdb0881a25743cacd
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   335532 cd84e09870119cd4ee240cc398aeb7d3
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_arm.deb
    Size/MD5 checksum:   171686 2377a06f744bc30efef5016a9a775913

hppa architecture (HP PA RISC)

  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   857632 5b07be433b6e7156a435808292136d0e
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   178106 dda3ab5df7c3fa99d502c56a25e00862
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   395736 41fe385be0528b9bf18459e40b375457
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:  9303084 e3da50ef5a438446795bc02ab8bb50e1
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   176082 54ec123de579d1a0e2ecd3ec008b0dfe
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   372672 6ced1b7993504e15ef345b1e51af2d6d
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_hppa.deb
    Size/MD5 checksum:   571784 859faf2b39164f61920bf5de4470931c

i386 architecture (Intel ia32)

  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   175750 dc4b6324abca43d7eea2b11b7fcf660a
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:  9299918 9ea5f4014a561d1c8c81bb4ed149aba8
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   559534 44ef9740caff7cb69206597e398f9e3a
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   852928 f0d807d0d78925dfafd6e4df8f395824
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   339634 abda6f85b907020002db72c72bfc9e7f
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   338050 477ce1e1eb226df1025408eee37e1b3b
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_i386.deb
    Size/MD5 checksum:   175214 9e7400982700784cc88a1dda2f86265c

ia64 architecture (Intel ia64)

  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   878958 4eae43d4607166d9eaede40e27ba9049
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   610582 1ec5327570756c197810c12ac8bedb80
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   465670 e7a41cb4e7d18edb10671fb313f8ce44
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:  9315790 edd4b8f6c817769a079a51d6489e699e
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   427594 9892748ec0408af2e2a0a87e6874ca63
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   202188 ae7e46c55c72ad3ccef254c1dbe97a33
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_ia64.deb
    Size/MD5 checksum:   192468 5ee1e5da5acf7f62ffafb9b9d60a7a55

mips architecture (MIPS (Big Endian))

  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   398366 1ea5d9e45ee353c14bee0f5703bdf6e6
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   343322 4fe971ba2fcb742aeed74030e1ced997
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   175468 2db194a35fa157ab609f8ef0b0cb73f5
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   599538 08c09e9897f1972037b3e4a0d88152e6
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   855100 6a21009d59268458b53182735b77088e
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:   179602 2523f6024a96923ad91f4945bca418b2
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_mips.deb
    Size/MD5 checksum:  9301550 f67d8a2117838a7b6f3eac55ca7a0b72

mipsel architecture (MIPS (Little Endian))

  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:  9302024 3f747f0216c64cddf45b350db9772714
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   389592 766e9eb4ed1fba66f22bea2050a07ecb
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   336768 11c61ce9596c22e98f36f69c40fc1e64
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   176436 6f88f1915a6201ab0ae48be641e45ba4
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   855122 82890253e23b4b31ce2c5a926a903691
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   590492 fbc8a71ee8874700ed7156015172cecd
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_mipsel.deb
    Size/MD5 checksum:   180486 a9eed083eb4ca3916b0cb78fe6a194fb

powerpc architecture (PowerPC)

  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   182286 f3c856dacfa9a1753aa48acface009a0
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   350354 2ade91890102d3887346a1163457b614
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   590798 9a9703d9ebd110de60abae2fca2d4f4c
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   372332 6b66c7903501f622f34e313344f506d6
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:  9302874 8cfa88796e81e3c81a05ab9f6635cf24
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   176898 c1f8736fe2f8087c8a895a16327db2cb
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_powerpc.deb
    Size/MD5 checksum:   857798 28dd79781db86c13cca7fa189612d648

s390 architecture (IBM S/390)

  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   361396 87c393257ceaf3eb7b35bd04ee285e64
  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   369912 565ad078b997e6fb7dacfdc11ab01171
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   176852 2f2baf213ee15e2bfa1aa98b6b99f594
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   855724 620223d0a861537d52ee322b6f2e5ad4
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   177666 da21421001162cffbe7647f7f4c8c19b
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:  9301446 e00e36a8b4579117dbf4d6fff1c813b2
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_s390.deb
    Size/MD5 checksum:   581448 120f580c73cb2a56ac4f50c0d7c5a1f2

sparc architecture (Sun SPARC/UltraSPARC)

  https://security.debian.org/pool/updates/main/c/clamav/libclamav-dev_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   357690 6481b2987c994cd3877b10efbb1dcc33
  https://security.debian.org/pool/updates/main/c/clamav/clamav-milter_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   174568 2a4c4e5782ff3c3231d21dee6fc98fad
  https://security.debian.org/pool/updates/main/c/clamav/clamav-dbg_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   540908 a710b64a5825f3b7d455c22004a21fda
  https://security.debian.org/pool/updates/main/c/clamav/clamav-freshclam_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:  9299230 1c17724dec2769992beb041736371186
  https://security.debian.org/pool/updates/main/c/clamav/clamav_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   851874 b405a32bc076c7a788fdc4589bf4f72c
  https://security.debian.org/pool/updates/main/c/clamav/libclamav2_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   349100 acc666ab0383297177d7cff074d43273
  https://security.debian.org/pool/updates/main/c/clamav/clamav-daemon_0.90.1dfsg-3etch13_sparc.deb
    Size/MD5 checksum:   172622 7e304b28da9bb0fc7e2c94e1b08bbb46


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb https://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.

Advisories

LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
/main-polls/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"47","type":"x","order":"1","pct":79.66,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"7","type":"x","order":"2","pct":11.86,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":8.47,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.