GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Jul 06, 2005 2:45 pm Post subject: [ GLSA 200507-05 ] zlib: Buffer overflow |
|
|
Gentoo Linux Security Advisory
Title: zlib: Buffer overflow (GLSA 200507-05)
Severity: high
Exploitable: remote
Date: July 06, 2005
Bug(s): #98121
ID: 200507-05
Synopsis
A buffer overflow has been discovered in zlib, potentially resulting in the execution of arbitrary code.
Background
zlib is a widely used free and patent unencumbered data compression library.
Affected Packages
Package: sys-libs/zlib
Vulnerable: < 1.2.2-r1
Unaffected: >= 1.2.2-r1
Architectures: All supported architectures
Description
Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a buffer overflow in zlib. A bounds checking operation failed to take invalid data into account, allowing a specifically malformed deflate data stream to overrun a buffer.
Impact
An attacker could construct a malformed data stream, embedding it within network communication or an application file format, potentially resulting in the execution of arbitrary code when decoded by the application using the zlib library.
Workaround
There is no known workaround at this time.
Resolution
All zlib users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=sys-libs/zlib-1.2.2-r1" |
References
CAN-2005-2096
Last edited by GLSA on Tue Sep 26, 2006 4:18 am; edited 3 times in total |
|