| Name | CVE-2017-14107 |
| Description | The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2858-1 |
| Debian Bugs | 874010 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libzip (PTS) | bookworm, bullseye | 1.7.3-1 | fixed |
| trixie | 1.11.3-2 | fixed |
| forky, sid | 1.11.4-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libzip | source | experimental | 1.3.0+dfsg.1-1 | | | |
| libzip | source | stretch | 1.1.2-1.1+deb9u1 | | DLA-2858-1 | |
| libzip | source | (unstable) | 1.5.1-3 | low | | 874010 |
| php5 | source | jessie | 5.6.33+dfsg-0+deb8u1 | | | |
| php5 | source | (unstable) | (unfixed) | unimportant | | |
Notes
[jessie] - libzip <no-dsa> (Minor issue)
[wheezy] - libzip <no-dsa> (Minor issue)
https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/
https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5
PHP commit: https://github.com/php/php-src/commit/f6e8ce812174343b5c9fd1860f9e2e2864428567
Marked as unimportant, php5 uses system libzip since 5.4.5-1