Out-of-Bounds Affecting tar package, versions <2:1.26-31.23.amzn1


high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.05% (18th percentile)
Expand this section
NVD
5.5 medium
Expand this section
SUSE
4.3 medium
Expand this section
Red Hat
5.5 medium

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 ID SNYK-AMZN201803-TAR-3369646
  • published 23 Mar 2023
  • disclosed 30 Jan 2023

How to fix?

Upgrade Amazon-Linux:2018.03 tar to version 2:1.26-31.23.amzn1 or higher.
This issue was patched in ALAS-2023-1704.

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:2018.03 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.