Out-of-bounds Read Affecting libtar package, versions <1.2.20-8+deb12u1~deb11u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (38th 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-DEBIAN11-LIBTAR-8602905
  • published8 Jan 2025
  • disclosed10 Aug 2022

Introduced: 10 Aug 2022

CVE-2021-33643  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:11 libtar to version 1.2.20-8+deb12u1~deb11u1 or higher.

NVD Description

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

An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.

CVSS Base Scores

version 3.1