Out-of-bounds Read Affecting libtar package, versions <0:1.2.20-17.el8


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Availability High

    Threat Intelligence

    EPSS 0.34% (72nd percentile)
Expand this section
NVD
9.1 critical
Expand this section
Red Hat
7.4 high

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-ORACLE8-LIBTAR-5599391
  • published 25 May 2023
  • disclosed 10 Aug 2022

How to fix?

Upgrade Oracle:8 libtar to version 0:1.2.20-17.el8 or higher.
This issue was patched in ELSA-2023-2898.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtar package and not the libtar package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.

References