CVE-2024-57970 Affecting libarchive package, versions <3.7.9-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-LIBARCHIVE-9671701
  • published8 Apr 2025
  • disclosed16 Feb 2025

Introduced: 16 Feb 2025

CVE-2024-57970  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 libarchive to version 3.7.9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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 Base Scores

version 3.1