Live threats

All CVEs / PEAR

CVE-2020-28949PEAR Archive_Tar

Arbitrary File Write in PEAR Archive_Tar via Incomplete Stream Wrapper Validati…

High 7.8 KEV High EPSS

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.

Source text, unmodified. NVD.

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.

Source text, unmodified. CISA KEV.

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.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Archive_Tar.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 15, 2022.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
phparchive_tar< 1.4.12
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34
fedoraprojectfedora35
drupaldrupal≥ 7.0 < 7.75
drupaldrupal≥ 8.0.0 < 8.9.10
drupaldrupal≥ 8.8.0 < 8.8.12
drupaldrupal≥ 9.0.0 < 9.0.9

Official sources

References

Links published by the sources. Open them with care.