Read the docs
Red Hat Security Advisory

RHSA-2023:2898

libtar security update

Released 2023-05-16 · Red Hat rating Moderate · View on Red Hat →

Fixed in

Fixes 4 records

TI-2021-13017 CVE-2021-33643 · GHSA-j7g9-fcw9-wxcf

Out-of-bounds read in libtar

Priority MEDIUM 49

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.

CVSS 3.1CRITICAL 9.1 Network No auth No interaction EPSS 0.01876 Published 2022-08-09 Partial fix · 1.2.21 CWE-125
TI-2021-13018 CVE-2021-33644 · GHSA-f326-p7mm-52h2

Out-of-bounds read in libtar

Priority LOW 38

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.

CVSS 3.1HIGH 8.1 Network No auth User interaction EPSS 0.01576 Published 2022-08-09 Partial fix · 1.2.21 CWE-125
TI-2021-13020 CVE-2021-33646 · GHSA-x27v-rjqh-f4xc

Memory leak in libtar

Priority LOW 37

The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a memory leak.

CVSS 3.1HIGH 7.5 Network No auth No interaction EPSS 0.01999 Published 2022-08-09 Partial fix · 1.2.21 CWE-401
TI-2021-13019 CVE-2021-33645 · GHSA-j8q5-rwmr-9hg8

Memory leak in libtar

Priority LOW 37

The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak.

CVSS 3.1HIGH 7.5 Network No auth No interaction EPSS 0.02016 Published 2022-08-09 Partial fix · 1.2.21 CWE-401