Out-of-Bounds Affecting tar-debuginfo package, versions <2:1.26-35.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (32nd 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-AMZN2-TARDEBUGINFO-3367434
  • published22 Mar 2023
  • disclosed30 Jan 2023

Introduced: 30 Jan 2023

CVE-2022-48303  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 tar-debuginfo to version 2:1.26-35.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-1994.

NVD Description

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

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

CVSS Scores

version 3.1