Bug 1489000 (CVE-2017-14107) - CVE-2017-14107 libzip: Memory allocation failure in _zip_cdir_grow function
Summary: CVE-2017-14107 libzip: Memory allocation failure in _zip_cdir_grow function
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-14107
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1489002 1489003
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 14:56 UTC by Andrej Nemec
Modified: 2019-09-29 14:20 UTC (History)
6 users (show)

Fixed In Version: libzip 1.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:24:41 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2017-09-06 14:56:59 UTC
The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.

Upstream patch:

https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5

References:

https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/

Comment 1 Andrej Nemec 2017-09-06 14:57:38 UTC
Created libzip tracking bugs for this issue:

Affects: fedora-25 [bug 1489003]


Created mingw-libzip tracking bugs for this issue:

Affects: fedora-all [bug 1489002]


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