Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 803028 - (CVE-2012-1163) CVE-2012-1163 libzip: integer overflow when processing malformed zip file
CVE-2012-1163 libzip: integer overflow when processing malformed zip file
Status: CLOSED CURRENTRELEASE
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20120320,repor...
: Security
Depends On: 805102 805104
Blocks: 802568
  Show dependency treegraph
 
Reported: 2012-03-13 15:40 EDT by Vincent Danen
Modified: 2016-03-04 07:07 EST (History)
5 users (show)

See Also:
Fixed In Version: libzip 0.10.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-16 10:53:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch from upstream (806 bytes, patch)
2012-03-15 17:11 EDT, Vincent Danen
no flags Details | Diff

  None (edit)
Description Vincent Danen 2012-03-13 15:40:11 EDT
An integer overflow vulnerability was reported in libzip <= 0.10 when processing certain corrupt zip files.  When libzip opens a zip file, it reads in the size and the offset of the central directory structure and, while it performs a consistency check on these values, it does not anticipate an integer overflow.  In this case libzip will continue to process the zip file, which may result in the improper restrictions of operations within the bounds of a memory buffer.


Acknowledgements:

Red Hat would like to thank Timo Warns for reporting this issue.
Comment 1 Vincent Danen 2012-03-15 17:11:54 EDT
Created attachment 570438 [details]
patch from upstream
Comment 3 Vincent Danen 2012-03-20 10:54:14 EDT
Created php tracking bugs for this issue

Affects: fedora-all [bug 805104]
Comment 4 Vincent Danen 2012-03-20 10:54:19 EDT
Created libzip tracking bugs for this issue

Affects: fedora-all [bug 805102]
Comment 6 Stefan Cornelius 2012-03-28 00:26:02 EDT
The vulnerability was introduced by patch http://hg.nih.at/libzip?cs=feb6cbf7e8c4 in version 0.10.

Statement:

Not vulnerable. This issue did not affect the versions of libzip and php as shipped with Red Hat Enterprise Linux 6. This issue did not affect the versions of php53 as shipped with Red Hat Enterprise Linux 5.
Comment 7 Fedora Update System 2012-04-11 22:48:23 EDT
libzip-0.10.1-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Stefan Cornelius 2012-04-16 10:53:53 EDT
Vulnerability was introduced in a version later than shipped with F15 and F16. F17 now ships version 0.10.1, which fixes the issue.

Note You need to log in before you can comment on or make changes to this bug.