Stack-based Buffer Overflow Affecting tar package, versions <2:1.34-1.amzn2023.0.4


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (9th 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-AMZN2023-TAR-6147222
  • published9 Jan 2024
  • disclosed27 Mar 2024

Introduced: 9 Jan 2024

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

How to fix?

Upgrade Amazon-Linux:2023 tar to version 2:1.34-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2024-475.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tar package and not the tar package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.

CVSS Base Scores

version 3.1