CVE-2020-36193: Directory Traversal in Archive_Tar
CVE-2020-36193 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2021-04-22
PEAR Archive_Tar through 1.4.11 is vulnerable to directory traversal during write operations. The flaw exists in Tar.php due to inadequate validation of symbolic links, allowing an attacker to write files to arbitrary locations outside the intended directory.
Yes. pear/archive_tar (Packagist): upgrade to 1.4.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2020-36193 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2020-36193?
Check whether you run pear/archive_tar (Packagist) or PEAR Archive Tar at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
pear/archive_tar (Packagist): upgrade to 1.4.13 or later
composer require pear/archive_tar:^1.4.13
Affected products
PEAR Archive_Tar through 1.4.11
Drupal Core
Red Hat Enterprise Linux
Identifiers
CVE-2020-36193
GHSA-rpw6-9xfx-jvcx
Timeline
2021-01-18: patched: Patch committed to GitHub repository.
2022-08-25: disclosed: Vulnerability published.
2022-08-25: kev added: Added to CISA Known Exploited Vulnerabilities catalog.
2022-08-25: exploited: Reported as exploited in the wild.