CVE-2024-37407

NameCVE-2024-37407
DescriptionLibarchive 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)jessie, jessie (lts)3.1.2-11+deb8u12fixed
stretch (security)3.2.2-2+deb9u3fixed
stretch (lts), stretch3.2.2-2+deb9u5fixed
buster, buster (lts)3.3.3-4+deb10u4fixed
buster (security)3.3.3-4+deb10u3fixed
bullseye3.4.3-2+deb11u1fixed
bullseye (security)3.4.3-2+deb11u2fixed
bookworm3.6.2-1+deb12u1fixed
bookworm (security)3.6.2-1+deb12u2fixed
sid, trixie3.7.4-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesourcejessie(not affected)
libarchivesourcestretch(not affected)
libarchivesource(unstable)(not affected)

Notes

- libarchive <not-affected> (Vulnerable code not in a Debian released version; bug #1072855)
https://github.com/libarchive/libarchive/pull/2145
Introduced by: https://github.com/libarchive/libarchive/commit/390d83012fdba8c8db7fc9915338805882b0597a (v3.7.3)
Fixed by: https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0 (v3.7.4)
[stretch] - libarchive <not-affected> (The vulnerable code was introduced later)
[jessie] - libarchive <not-affected> (The vulnerable code was introduced later)

Search for package or bug name: Reporting problems