CVE-2020-28949PEAR Archive_Tar
Arbitrary File Write in PEAR Archive_Tar via Incomplete Stream Wrapper Validati…
High 7.8 KEV High EPSS
Follow: this CVE · PEAR · PEAR Archive_Tar We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 7.8
- EPSS
- 84.6% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- In KEV since
- Aug 25, 2022
- CISA deadline
- Sep 15, 2022
- Ransomware use
- Unknown
- Published
- Nov 19, 2020
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Archive_Tar before version 1.4.12 incompletely validates filenames, blocking only the phar: protocol but allowing other stream wrappers like file://. An attacker can overwrite arbitrary files during extraction of a crafted TAR archive. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
PEAR Archive_Tar allows an unserialization attack because phar: is blocked but PHAR: is not blocked. PEAR stands for PHP Extension and Application Repository and it is an open-source framework and distribution system for reusable PHP components with known usage in third-party products such as Drupal Core and Red Hat Linux.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 1.4.12
Update PEAR Archive_Tar to version 1.4.12 or later. For Drupal, update to 8.8.12, 8.9.10, 9.0.9 or later.
- Apply the vendor's security update for Archive_Tar.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 15, 2022.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.8.12 |
8.8.12 |
composer require "drupal/core:^8.8.12" |
| Packagist | drupal/core |
≥ 8.9.0 < 8.9.10 |
8.9.10 |
composer require "drupal/core:^8.9.10" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.0.9 |
9.0.9 |
composer require "drupal/core:^9.0.9" |
| Packagist | pear/archive_tar |
< 1.4.11 |
1.4.11 |
composer require "pear/archive_tar:^1.4.11" |
| Packagist | pear/archive_tar |
< 1.4.11 |
1.4.11 |
composer require "pear/archive_tar:^1.4.11" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2020-013, GHSA-75c5-f4gw-38r9, GHSA-jh5x-hfhg-78jq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | archive_tar | < 1.4.12 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| drupal | drupal | ≥ 7.0 < 7.75 |
| drupal | drupal | ≥ 8.0.0 < 8.9.10 |
| drupal | drupal | ≥ 8.8.0 < 8.8.12 |
| drupal | drupal | ≥ 9.0.0 < 9.0.9 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Exploit Issue Tracking Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.debian.org Mailing List Third Party Advisory
- www.drupal.org Third Party Advisory
- www.cisa.gov US Government Resource