CVE-2020-28949: Vulnerability in PHP Archive Tar

Actively exploited. 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. See: https://github.com/pear/Archive_Tar/issues/33

Exploited in the wild, Packagist, CWE-74

Exploitation
Confirmed 25 Aug 2022
Severity
7.8 of 10
Attack likelihood
84.6 % in 30 days
Fix
Fixed version known
Patch deadline
Agencies by 15 Sept 2022

Details

Advisory ID
GHSA-75c5-f4gw-38r9
EU ID
EUVD-2021-0783
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-74
Published
19 Nov 2020
Last change
17 Jun 2026
Likelihood rank
Higher than 100 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Packagist
Required action
Apply updates per vendor instructions.

Affected products

Affected versions and the first fixed release

  • PHP Archive Tar Before 1.4.12. Fixed in 1.4.12
  • Debian Linux Versions 9.0, 10.0. No fixed version recorded
  • Fedoraproject Fedora Versions 32, 33, 34, 35. No fixed version recorded
  • Drupal From 7.0 before 7.75; From 8.0.0 before 8.9.10; From 8.8.0 before 8.8.12; From 9.0.0 before 9.0.9. Fixed in 7.75, 8.9.10, 8.8.12, 9.0.9

Affected packages

Vulnerable version ranges and fixed releases

  • pear/archive_tar Packagist, Affected before 1.4.11. Fixed in 1.4.11

Advisories

Vendor and security advisories

Exploit code

Public exploits and proofs of concept, handle with care

Related