PT-2024-4147 · Unknown+1 · Libarchive+1
Carnil
·
Published
2024-06-08
·
Updated
2026-04-07
·
CVE-2024-37407
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Libarchive versions prior to 3.7.4
Description
The issue is related to a buffer overflow vulnerability when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in the
slurp central directory function in archive read support format zip.c. The vulnerability can be exploited by a remote attacker to cause a denial of service using a specially crafted archive.Recommendations
For Libarchive versions prior to 3.7.4, update to version 3.7.4 or later to resolve the issue. As a temporary workaround, consider disabling the
mac-ext feature when handling ZIP archives to minimize the risk of exploitation. Restrict access to the slurp central directory function in archive read support format zip.c until the issue is resolved. Avoid using ZIP archives with empty-name files until the issue is fixed.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Libarchive