Name | CVE-2024-57970 |
Description | libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the middle of a GNU long linkname. |
Source | CVE (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 Package | Release | Version | Status |
---|
libarchive (PTS) | bullseye | 3.4.3-2+deb11u1 | fixed |
| bullseye (security) | 3.4.3-2+deb11u2 | fixed |
| bookworm, bookworm (security) | 3.6.2-1+deb12u2 | fixed |
| sid, trixie | 3.7.4-1.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libarchive | source | (unstable) | (not affected) | | | |
Notes
- libarchive <not-affected> (Vulnerable code introduced later)
https://github.com/libarchive/libarchive/pull/2422
https://github.com/libarchive/libarchive/issues/2415
Introduced by: https://github.com/libarchive/libarchive/commit/2d8a5760c5ec553283a95a1aaca746f6eb472d0f (v3.7.5)
Fixed by: https://github.com/libarchive/libarchive/commit/82912103214506316bd9990d73f33d743d55f570