7.1high
Directory Traversal in Archive_Tar
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 73.4% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-p8q8-jfcv-g2h2DRUPAL-CORE-2021-004
Description
In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pear/archive_tar (Packagist) | before 1.4.14 | GitHub Advisory Database |
| drupal/core (Packagist) | from 8.0.0 before 8.9.17, from 9.1.0 before 9.1.11, from 9.2.0 before 9.2.2 | Drupal Security Team |
| php archive_tar | before 1.4.14 | NVD |
| debian debian_linux | 9.0 | NVD |
| fedoraproject fedora | 33, 34, 35 | NVD |
All scores
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.6low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.
Drupal Security Team
The Drupal project uses the pear Archive_Tar library, which has released a security update that impacts Drupal.
The vulnerability is mitigated by the fact that Drupal core's use of the Archive_Tar library is not vulnerable, as it does not permit symlinks.
Exploitation may be possible if contrib or custom code uses the library to extract tar archives (for example .tar, .tar.gz, .bz2, or .tlz) which come from a potentially untrusted source.
This advisory is not covered by Drupal Steward.
NVD (es)
En Archive_Tar versiones anteriores a 1.4.14, los enlaces simbólicos pueden referirse a objetivos fuera del archivo extraído, una vulnerabilidad diferente a CVE-2020-36193
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32610 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p8q8-jfcv-g2h2 changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CORE-2021-004 changed 2026-09-19 | MIT |
| NVD | CVE-2021-32610 changed 2026-06-17 | Public domain |