Bug 2292307 (CVE-2024-37407) - CVE-2024-37407 libarchive: Out of bounds access in slurp_central_directory at archive_read_support_format_zip.c
Summary: CVE-2024-37407 libarchive: Out of bounds access in slurp_central_directory at...
Keywords:
Status: NEW
Alias: CVE-2024-37407
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2292309 2292310 2292308
Blocks: 2292316
TreeView+ depends on / blocked
 
Reported: 2024-06-14 02:40 UTC by Pedro Sampaio
Modified: 2024-06-28 07:24 UTC (History)
35 users (show)

Fixed In Version: libarchive 3.7.4
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds access flaw was found in libarchive in the slurp_central_directory function at archive_read_support_format_zip.c. This vulnerability may be triggered if a ZIP archive has an empty name and the mac-ext is enabled.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2024-06-14 02:40:09 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/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0
https://github.com/libarchive/libarchive/pull/2145
https://github.com/libarchive/libarchive/releases/tag/v3.7.4

Comment 1 Pedro Sampaio 2024-06-14 02:40:23 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 2292308]

Comment 2 Pedro Sampaio 2024-06-14 02:48:31 UTC
Created cmake3 tracking bugs for this issue:

Affects: epel-all [bug 2292309]


Created mingw-libarchive tracking bugs for this issue:

Affects: fedora-all [bug 2292310]


Note You need to log in before you can comment on or make changes to this bug.