CVE-2021-32610
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
pear/archive_tar (Packagist)before 1.4.14GitHub 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.2Drupal Security Team
php archive_tarbefore 1.4.14NVD
debian debian_linux9.0NVD
fedoraproject fedora33, 34, 35NVD

All scores

GitHub7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD3.6low CVSS:2.0AV: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

https://www.drupal.org/sa-core-2021-004third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2021/07/msg00023.htmlmailing-list, third-party-advisory, web
https://github.com/pear/Archive_Tar/releases/tag/1.4.14release-notes, third-party-advisory, web
https://github.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4fpatch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS/vendor-advisory
https://github.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-32610advisory
https://github.com/pear/Archive_Tarpackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEURweb

Sources

SourceRecordLicence
CVE ListCVE-2021-32610 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-p8q8-jfcv-g2h2 changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CORE-2021-004 changed 2026-09-19MIT
NVDCVE-2021-32610 changed 2026-06-17Public domain