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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-14107
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-14107.html
Vendor advisory: cve@mitre.org — https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5
Vendor advisory: cve@mitre.org — https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 1.5.1-3 |
| debian | bullseye | fixed | 1.5.1-3 |
| debian | forky | fixed | 1.5.1-3 |
| debian | sid | fixed | 1.5.1-3 |
| debian | trixie | fixed | 1.5.1-3 |
| debian | 9.0 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libzip | libzip | {"endExcluding":"1.3.0"} | 1.3.0 |
References
- 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
- https://lists.debian.org/debian-lts-announce/2021/12/msg00022.html
- https://www.suse.com/security/cve/CVE-2017-14107.html
- https://security-tracker.debian.org/tracker/CVE-2017-14107
CWEs
CWE-770
Verify integrity in audit chain (admin only). AS-IS.