Date: Tue, 18 Aug 2009 23:37:23 +0200
From: Alex Legler <a3li@gentoo.org.>
To: [email protected]Subject: [ GLSA 200908-07 ] Perl Compress::Raw modules: Denial of Service
Message-ID: <20090818233723.684ceb2c@neon.>
X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA1;
boundary="Sig_/tJMJ21uMrkSsq5H1X8+BJRS"; protocol="application/pgp-signature"
X-Virus-Scanned: antivirus-gw at tyumen.ru
--Sig_/tJMJ21uMrkSsq5H1X8+BJRS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200908-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: Perl Compress::Raw modules: Denial of Service
Date: August 18, 2009
Bugs: #273141, #281955
ID: 200908-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
An off-by-one error in Compress::Raw::Zlib and Compress::Raw::Bzip2
might lead to a Denial of Service.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Compress::Raw::Zlib and Compress::Raw::Bzip2 are Perl low-level
interfaces to the zlib and bzip2 compression libraries.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 perl-core/Compress-Raw-Zlib < 2.020 >=3D 2.020
2 perl-core/Compress-Raw-Bzip2 < 2.020 >=3D 2.020
-------------------------------------------------------------------
2 affected packages on all of their supported architectures.
-------------------------------------------------------------------
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Leo Bergolth reported an off-by-one error in the inflate() function in
Zlib.xs of Compress::Raw::Zlib, possibly leading to a heap-based buffer
overflow (CVE-2009-1391).
Paul Marquess discovered a similar vulnerability in the bzinflate()
function in Bzip2.xs of Compress::Raw::Bzip2 (CVE-2009-1884).
Impact
=3D=3D=3D=3D=3D=3D
A remote attacker might entice a user or automated system (for instance
running SpamAssassin or AMaViS) to process specially crafted files,
possibly resulting in a Denial of Service condition.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All Compress::Raw::Zlib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose
=3Dperl-core/Compress-Raw-Zlib-2.020
All Compress::Raw::Bzip2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose
=3Dperl-core/Compress-Raw-Bzip2-2.020
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2009-1391
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1391
[ 2 ] CVE-2009-1884
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1884
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200908-07.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--Sig_/tJMJ21uMrkSsq5H1X8+BJRS
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkqLHxUACgkQk+oqhfPAZGmDhgCZAR1FjZUxHh2X9MAxIpaX6D81
uIAAn01zKBRWsX8X/lihUXvuXmKiTAdS
=rW1/
-----END PGP SIGNATURE-----
--Sig_/tJMJ21uMrkSsq5H1X8+BJRS--