Vulnerability Details : CVE-2024-57970
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.
Products affected by CVE-2024-57970
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2024-57970
0.01%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-57970
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
2.5
|
1.4
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-02-18 |
4.0
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
N/A
|
N/A
|
MITRE | 2025-02-16 |
4.0
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
2.5
|
1.4
|
MITRE | 2025-02-16 |
CWE ids for CVE-2024-57970
-
The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- 8254265b-2729-46b6-b9e3-3dfca2d5bfca (Primary)
- cve@mitre.org (Secondary)
References for CVE-2024-57970
-
https://github.com/libarchive/libarchive/issues/2415
bsdtar AddressSanitizer: heap-buffer-overflow · Issue #2415 · libarchive/libarchive
-
https://github.com/libarchive/libarchive/pull/2422
Handle truncation in the middle of a GNU long linkname by kientzle · Pull Request #2422 · libarchive/libarchive · GitHub
Jump to