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.
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Link | Tags |
---|---|
https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/ | vdb entry third party advisory patch |
https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5 | issue tracking third party advisory patch |
https://lists.debian.org/debian-lts-announce/2021/12/msg00022.html | third party advisory mailing list |