Name
libtar
Version
1.2.20
Type
library
Description
libtar, tar manipulating library
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:*:libtar:1.2.20:*:*:*:*:*:*:*
Other Versions#
Vulnerabilities#
Name
Analysis
Description
Exploitable
The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a memory leak.
Exploitable
The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak.
Exploitable
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.
Exploitable
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.
Exploitable
Multiple directory traversal vulnerabilities in the (1) tar_extract_glob and (2) tar_extract_all functions in libtar 1.2.20 and earlier allow remote attackers to overwrite arbitrary files via a .. (dot dot) in a crafted tar file.