CVE-2024-57970Buffer Over-read in Libarchive

CWE-126Buffer Over-read6 documents6 sources
Severity
4.0MEDIUMNVD
EPSS
0.0%
top 96.58%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 16

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability: 2.5 | Impact: 1.4

Affected Packages7 packages

🔴Vulnerability Details

2
OSV
CVE-2024-57970: libarchive through 32025-02-16
GHSA
GHSA-2q66-6w43-8rm9: libarchive through 32025-02-16

📋Vendor Advisories

3
Red Hat
libarchive: heap buffer over-read in header_gnu_longlink2025-02-16
Microsoft
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 li2025-02-11
Debian
CVE-2024-57970: libarchive - libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlin...2024