GLSA-200908-07 : Perl Compress::Raw modules: Denial of Service

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200908-07
(Perl Compress::Raw modules: Denial of Service)

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 :

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 :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200908-07.xml

Solution :

All Compress::Raw::Zlib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=perl-core/Compress-Raw-Zlib-2.020'
All Compress::Raw::Bzip2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=perl-core/Compress-Raw-Bzip2-2.020'

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 40632 (gentoo_GLSA-200908-07.nasl)

Bugtraq ID:

CVE ID: CVE-2009-1391
CVE-2009-1884