CVE-2020-28949 PEAR Archive_Tar Deserialization of Untrusted Data

Exploited in the wild High 7.8 Published Updated

Attackers can overwrite arbitrary files via stream wrapper attacks in the Archive_Tar library due to insufficient filename sanitization.

Exploited in the wild
Since 25 Aug 2022
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-28949?

CVE-2020-28949 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 19 Nov 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.

Which versions are affected by CVE-2020-28949?

It affects 4 products.

Products include Debian Debian Linux, Drupal Drupal, Fedoraproject Fedora, Php Archive Tar.

How do I fix CVE-2020-28949?

Upgrade to a fixed version. US federal agencies must fix it by 15 Sep 2022.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-28949 being exploited?

Yes. Attackers have exploited CVE-2020-28949 in the wild since at least 25 Aug 2022.

Public exploit code: 1 Metasploit module.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-ZN01309, DEBIAN-CVE-2020-28949, UBUNTU-CVE-2020-28949.

Is CVE-2020-28949 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free