Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537424 (CVE-2014-9636) - <app-arch/unzip-6.0_p20: out-of-bounds read/write in test_compr_eb() in extract.c
Summary: <app-arch/unzip-6.0_p20: out-of-bounds read/write in test_compr_eb() in extra...
Alias: CVE-2014-9636
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
Whiteboard: A2 [glsa]
Depends on: 528082
  Show dependency tree
Reported: 2015-01-23 08:54 UTC by Agostino Sarubbo
Modified: 2016-11-01 13:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-01-23 08:54:59 UTC
From ${URL} :

It was reported [1] that OOB access (both read and write) issues exist in test_compr_eb (extract.c) 
that can result in application crash or other unspecified impact.

This vulnerability can be triggered via crafted zip archives with extra fields that advertise 
STORED method compression (i.e. no compression) and have uncompressed field sizes smaller than the 
corresponding compressed field sizes.

This issue is different from CVE-2014-8140 [2].

Proposed patch is attached.
Upstream bugreport:


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-02-11 18:35:07 UTC
CVE-2014-9636 (
  unzip 6.0 allows remote attackers to cause a denial of service
  (out-of-bounds read or write and crash) via an extra field with an
  uncompressed size smaller than the compressed field size in a zip archive
  that advertises STORED method compression.
Comment 2 Yury German Gentoo Infrastructure gentoo-dev 2015-02-16 03:47:57 UTC
There looks to be a link to the patch that was accepted upstream on the RedHat page in URL.

Please take a look.
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2016-02-29 13:22:00 UTC
per previous comments and links patch is available upstream, please bump
Comment 4 SpanKY gentoo-dev 2016-04-03 00:06:34 UTC
fixed w/Debian patchset.  should be fine for stable.
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2016-11-01 13:22:20 UTC
This issue was resolved and addressed in
 GLSA 201611-01 at
by GLSA coordinator Aaron Bauman (b-man).