Bug 1226193 (CVE-2024-37407) - VUL-0: CVE-2024-37407: libarchive: out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled
Summary: VUL-0: CVE-2024-37407: libarchive: out-of-bounds access when a ZIP archive ha...
Status: RESOLVED FIXED
Alias: CVE-2024-37407
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/409726/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-37407:4.0:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 14:04 UTC by SMASH SMASH
Modified: 2024-07-10 13:34 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.