Main
Vulnerability Database
Exploits
ID:1143 - Exploit for Off-by-one error in Compress::Raw::Zlib - CVE-2009-1391
ID:1143 - Exploit for Off-by-one error in Compress::Raw::Zlib - CVE-2009-1391
Published: March 18, 2020
Vulnerability identifier: #VU6170
Vulnerability risk: Critical
CVE-ID: CVE-2009-1391
CWE-ID: CWE-193
Exploitation vector: Remote access
Vulnerable software:
Compress::Raw::Zlib
Compress::Raw::Zlib
Link to public exploit:
Vulnerability description
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to off-by-one error in Zlib.xs in Compress::Raw::Zlib Perl module before 2.017 when processing specially crafted zlib archives. A remote attacker can pass a specially crafted zlib archive to vulnerable application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation may allow an attacker to compromise vulnerable system.
Note: this vulnerability is being actively exploited in the wild against AMaViS and SpamAssassin, which use vulnerable Perl module.
The vulnerability exists due to off-by-one error in Zlib.xs in Compress::Raw::Zlib Perl module before 2.017 when processing specially crafted zlib archives. A remote attacker can pass a specially crafted zlib archive to vulnerable application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation may allow an attacker to compromise vulnerable system.
Note: this vulnerability is being actively exploited in the wild against AMaViS and SpamAssassin, which use vulnerable Perl module.
Remediation
Update Compress::Raw::Zlib Perl module to version 2.017.