Memory leak in Tar - CVE-2021-20193
Published: February 28, 2021 / Updated: February 21, 2023
Vulnerability identifier: #VU50978
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-20193
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: GNU
Affected software:
Tar
Tar
Detailed vulnerability description
The vulnerability allows a remote attacker to perform DoS attack on the target system.
The vulnerability exists due memory leak within the read_header() function in list.c. A remote attacker can pass specially crafted archive to the application and force it to leak memory, which eventually results in a denial of service condition.
How to mitigate CVE-2021-20193
Install update from vendor's website.