portage-ng / portage / dev-libs / libzip / 1.12.1
portage-ng glsa
1 advisory reference dev-libs/libzip · none place version 1.12.1 in a vulnerable range
▸ GLSA 201203-23 libzip: Multiple vulnerabilities this version unaffected normal remote 2012-03-29

Multiple vulnerabilities have been found in libzip, the worst of which might allow execution of arbitrary code.

Announced
2012-03-29
Revised
2012-03-29
Access
remote
Bugs
#409117
Advisory
https://security.gentoo.org/glsa/201203-23

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libzip*< 0.10.1>= 0.10.1

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.

Workaround

There is no known workaround at this time.

Resolution

All libzip users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libzip-0.10.1"

References