What’s Vulnerable › Vulnerabilities
CVE-2020-28949: PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2022-08-25
- EPSS: 84.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-11-19 · updated 2026-06-17
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.
Affected products
- Debian Linux: 9.0, 10.0
- 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.8.12, 8.9.10, 9.0.9
- Fedoraproject Fedora: 32, 33, 34, 35
- php Archive Tar: before 1.4.12 — fixed in 1.4.12
How to fix
Upgrade to a fixed version: Drupal 7.75, 8.8.12, 8.9.10, 9.0.9; php Archive Tar 1.4.12. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html
- https://github.com/pear/Archive_Tar/issues/33
- https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- https://security.gentoo.org/glsa/202101-23
- https://www.debian.org/security/2020/dsa-4817
- https://www.drupal.org/sa-core-2020-013
Get alerted when CVE-2020-28949 or the next vulnerability affects your stack