CVE-2014-9636
published 2015-02-06CVE-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…
PriorityP428medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
11.78%
95.6th percentile
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.
Affected
27 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | unzip | < unzip 6.0-15 (bookworm) | unzip 6.0-15 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | unzip-6.0-16.cm1.aarch64.rpm_on_cbl_mariner_1.0_arm | — | — |
| msrc | unzip-6.0-16.cm1.x86_64.rpm_on_cbl_mariner_1.0_x64 | — | — |
| msrc | unzip-6.0-19.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | unzip-6.0-19.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| msrc | unzip-6.0-20.azl3.aarch64.rpm_on_azure_linux_3.0_arm | — | — |
| msrc | unzip-6.0-20.azl3.x86_64.rpm_on_azure_linux_3.0_x64 | — | — |
| msrc | unzip-debuginfo-6.0-16.cm1.aarch64.rpm_on_cbl_mariner_1.0_arm | — | — |
| msrc | unzip-debuginfo-6.0-16.cm1.x86_64.rpm_on_cbl_mariner_1.0_x64 | — | — |
| msrc | unzip-debuginfo-6.0-19.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | unzip-debuginfo-6.0-19.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| unzip_project | unzip | — | — |
| unzip_project | unzip | >= 0 < 6.0-15 | 6.0-15 |
| unzip_project | unzip | >= 0 < 6.0-15 | 6.0-15 |
Detection & IOCsextracted from sources · hover to see the quote
- →Vulnerability is only triggered when running unzip in test mode (-t flag); extraction mode is not affected ↗
- →The vulnerable function is test_compr_eb() in extract.c — monitor crashes or anomalous behaviour in this code path ↗
- →Trigger condition: a ZIP archive that advertises STORED method compression but contains an extra field where the uncompressed size is smaller than the compressed field size — inspect ZIP extra fields for this anomaly ↗
- →Root cause is integer underflow leading to memcpy() called with an excessively large size argument — look for abnormally large memcpy size values in crash dumps or dynamic analysis ↗
- →EF_NTSD extra block type is one of the affected ZIP extra field types; treat ZIP files containing EF_NTSD blocks with uncompressed size of 0 as suspicious ↗
- ·Affected version is unzip 6.0 specifically; fixed in Debian packages at version 6.0-15 and in RHEL 6/7 via RHSA-2015:0700 ↗
- ·Red Hat Enterprise Linux 5 will NOT receive a fix for this CVE due to end-of-life support phase ↗
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_msrc5.0MEDIUM
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
CVE-2014-9636: Mariner: Mariner
cve@mitre
vendor_msrc·2024-06-11·CVSS 5.0
CVE-2014-9636 [MEDIUM] CVE-2014-9636: Mariner: Mariner
cve@mitre
Mariner: Mariner
[email protected]: [email protected]
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade
Ubuntu
unzip vulnerability
vendor_ubuntu·2015-02-03
CVE-2014-9636 unzip vulnerability
Title: unzip vulnerability
Summary: unzip vulnerability
Michal Zalewski discovered that unzip incorrectly handled certain
malformed zip archives. If a user or automated system were tricked into
processing a specially crafted zip archive, an attacker could possibly
execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
unzip: out-of-bounds read/write in test_compr_eb() in extract.c
vendor_redhat·2014-11-02·CVSS 5.0
CVE-2014-9636 [MEDIUM] CWE-20 unzip: out-of-bounds read/write in test_compr_eb() in extract.c
unzip: out-of-bounds read/write in test_compr_eb() in extract.c
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.
A buffer overflow was found in the way unzip uncompressed certain extra fields of a file. A specially crafted Zip archive could cause unzip to crash or, possibly, execute arbitrary code when the archive was tested with unzip's '-t' option.
Statement: Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates in Red Hat Enterpr
Debian
CVE-2014-9636: unzip - unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds re...
vendor_debian·2014·CVSS 5.0
CVE-2014-9636 [MEDIUM] CVE-2014-9636: unzip - unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds re...
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.
Scope: local
bookworm: resolved (fixed in 6.0-15)
bullseye: resolved (fixed in 6.0-15)
forky: resolved (fixed in 6.0-15)
sid: resolved (fixed in 6.0-15)
trixie: resolved (fixed in 6.0-15)
GHSA
GHSA-9gph-v8wv-c92v: unzip 6
ghsa_unreviewed·2022-05-13
CVE-2014-9636 [MEDIUM] CWE-119 GHSA-9gph-v8wv-c92v: unzip 6
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.
OSV
CVE-2014-9636: unzip 6
osv·2015-02-06·CVSS 5.0
CVE-2014-9636 [MEDIUM] CVE-2014-9636: unzip 6
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c [fedora-all]
bugzilla·2015-01-22·CVSS 5.0
CVE-2014-9636 [MEDIUM] CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c [fedora-all]
CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c
bugzilla·2015-01-22·CVSS 7.8
CVE-2014-9636 [HIGH] CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c
CVE-2014-9636 unzip: out-of-bounds read/write in test_compr_eb() in extract.c
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: http://www.info-zip.org/phpBB3/viewtopic.php?f=7&t=450
[1]: http://seclists.org/oss-sec/2014/q4/1131
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-8140
Discussion:
Created attachment 982909
unzip-6.0_overflow2.
Bugzilla
CVE-2014-8140 unzip: out-of-bounds write issue in test_compr_eb() (oCERT-2014-011)
bugzilla·2014-12-16·CVSS 7.8
CVE-2014-8140 [HIGH] CVE-2014-8140 unzip: out-of-bounds write issue in test_compr_eb() (oCERT-2014-011)
CVE-2014-8140 unzip: out-of-bounds write issue in test_compr_eb() (oCERT-2014-011)
oCERT reports an unzip flaw discovered by Michele Spagnuolo, Google Security Team:
"""
The write error shows a problem in extract.c:test_compr_eb(), which was not expecting an uncompressed size of zero for an EF_NTSD extra block.
Proposed changes:
http://antinode.info/ftp/info-zip/unzip60/extract.c
extract.c:test_compr_eb() gets a new validity test.
"""
Acknowledgement:
Red Hat would like to thank oCERT for reporting these issues. oCERT acknowledges Michele Spagnuolo of the Google Security Team as the original reporter.
Discussion:
Created attachment 969621
Upstream patch
This seems to be the upstream fix mentioned in the comment 0.
---
External Reference:
http://www.ocert.org/advisories/ocert-2
http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148792.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/148849.htmlhttp://seclists.org/oss-sec/2014/q4/1131http://seclists.org/oss-sec/2014/q4/489http://seclists.org/oss-sec/2014/q4/496http://seclists.org/oss-sec/2015/q1/216http://secunia.com/advisories/62738http://secunia.com/advisories/62751http://www.debian.org/security/2015/dsa-3152http://www.info-zip.org/phpBB3/viewtopic.php?f=7&t=450http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.htmlhttp://www.securityfocus.com/bid/71825http://www.ubuntu.com/usn/USN-2489-1https://security.gentoo.org/glsa/201611-01http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148792.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/148849.htmlhttp://seclists.org/oss-sec/2014/q4/1131http://seclists.org/oss-sec/2014/q4/489http://seclists.org/oss-sec/2014/q4/496http://seclists.org/oss-sec/2015/q1/216http://secunia.com/advisories/62738http://secunia.com/advisories/62751http://www.debian.org/security/2015/dsa-3152http://www.info-zip.org/phpBB3/viewtopic.php?f=7&t=450http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.htmlhttp://www.securityfocus.com/bid/71825http://www.ubuntu.com/usn/USN-2489-1https://security.gentoo.org/glsa/201611-01
2015-02-06
Published