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


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.58% (76th 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-RHEL8-LIBTAR-5544174
  • published25 Aug 2022
  • disclosed10 Aug 2022

Introduced: 10 Aug 2022

CVE-2021-33644  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libtar to version 0:1.2.20-17.el8 or higher.
This issue was patched in RHSA-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 RHEL. See How to fix? for RHEL: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_longname, causing an out-of-bounds read.

References

CVSS Base Scores

version 3.1