
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-37407 is a security vulnerability affecting Libarchive versions before 3.7.4. The vulnerability allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This issue specifically occurs in the slurp_central_directory function within archive_read_support_format_zip.c (NVD, RedHat).
The vulnerability is classified as an out-of-bounds read (CWE-125) with a CVSS v3.1 base score of 9.1 (CRITICAL), having a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. The issue manifests when processing ZIP archives that contain files with empty names while the mac-ext option is enabled, leading to an out-of-bounds memory access in the slurp_central_directory function (NVD).
The vulnerability can lead to undefined behavior, including potential exploitation by attackers to execute arbitrary code, cause denial of service conditions, or exfiltrate sensitive information through improper handling of file names that leads to memory access violations (RedHat).
A proof of concept has been developed demonstrating the vulnerability by creating an invalid ZIP file with an empty filename. When this file is processed with the mac-ext option enabled, it triggers the out-of-bounds access, though interestingly, it may not be detected by address sanitizer tools (GitHub PR).
The vulnerability has been fixed in Libarchive version 3.7.4. Users are advised to upgrade to this version, which includes the security patch along with other important bugfixes (GitHub Release).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."