libzip: Multiple vulnerabilities
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 201203-23 / libzip |
| Release Date |
March 29, 2012 |
| Latest Revision |
March 29, 2012: 1 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-libs/libzip |
<
0.10.1 |
>=
0.10.1 |
All supported architectures
|
Related bugreports:
#409117
Synopsis
Multiple vulnerabilities have been found in libzip, the worst of
which might allow execution of arbitrary code.
2.
Impact Information
Background
libzip is a library for manipulating zip archives.
Description
Two vulnerabilities have been found in the "_zip_readcdir()" function in
zip_open.c of libzip:
- An incorrect loop construct, which could cause a heap-based buffer
overflow (CVE-2012-1162).
- An integer overflow, which may not restrict operations within the
memory buffer (CVE-2012-1163).
Impact
A remote attacker could entice a user to open a specially crafted ZIP
file, possibly resulting in execution of arbitrary code with the
privileges of the process, a Denial of Service condition, or information
leaks.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All libzip users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libzip-0.10.1"
|
4.
References
|