Empty-Name File Vulnerability in Libarchive Could Lead to Name Out-of-Bounds Access
CVE-2024-37407
9.1CRITICAL
What is CVE-2024-37407?
Libarchive, a widely used library for reading and writing archive files, contains a vulnerability that allows for name out-of-bounds access under specific conditions. When processing ZIP archives that include empty-name files while the mac-ext option is enabled, the slurp_central_directory functionality in archive_read_support_format_zip.c fails to properly validate input, which can lead to potentially detrimental consequences. Users of Libarchive are strongly advised to upgrade to version 3.7.4 or later to mitigate this risk.