Bug 1226193 (CVE-2024-37407)

Summary: VUL-0: CVE-2024-37407: libarchive: out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: abergmann
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/409726/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-37407:4.0:(AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-06-11 14:04:30 UTC
Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in slurp_central_directory in archive_read_support_format_zip.c.

References:
https://github.com/libarchive/libarchive/releases/tag/v3.7.4
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-37407
https://www.cve.org/CVERecord?id=CVE-2024-37407
https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0
https://github.com/libarchive/libarchive/pull/2145
Comment 1 Antonio Teixeira 2024-06-13 17:58:55 UTC
It seems to me this bug was only introduced in version 3.7.3 (see: https://github.com/libarchive/libarchive/commit/390d83012fdba8c8db7fc9915338805882b0597a) and then fixed in 3.7.4. So there should be no affected codestreams.
Comment 2 Andrea Mattiazzo 2024-07-10 13:34:15 UTC
All done, closing.