Stack-based Buffer Overflow Affecting tar package, versions [,1.35)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th 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-UNMANAGED-TAR-6117544
  • published12 Dec 2023
  • disclosed11 Dec 2023
  • creditUnknown

Introduced: 11 Dec 2023

CVE-2023-39804  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade tar to version 1.35 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to incorrectly handled extension attributes in PAX archives. An attacker can cause the application to crash by manipulating the PAX archive attributes.

CVSS Base Scores

version 3.1