Out-of-bounds Read Affecting tar package, versions <2:1.34-6.el9_1


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (14th 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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-TAR-5658298
  • published28 May 2023
  • disclosed28 Feb 2023

Introduced: 28 Feb 2023

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

How to fix?

Upgrade AlmaLinux:9 tar to version 2:1.34-6.el9_1 or higher.
This issue was patched in ALSA-2023:0959.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tar package and not the tar package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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 Base Scores

version 3.1