Out-of-bounds Read Affecting tar package, versions <1.34-r1


Severity

0.0
medium
0
10

    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 ID SNYK-ALPINE315-TAR-3326359
  • published 21 Feb 2023
  • disclosed 30 Jan 2023

How to fix?

Upgrade Alpine:3.15 tar to version 1.34-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tar package and not the tar package as distributed by Alpine. See How to fix? for Alpine:3.15 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
Expand this section

Snyk

5.5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

5.5 medium
Expand this section

SUSE

4.3 medium
Expand this section

Red Hat

5.5 medium