Drupal core - SA-CORE-2021-004
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.0.0, < 8.9.17, >= 9.1.0, < 9.1.11, >= 9.2.0, < 9.2.2 | 8.9.17, 9.1.11, 9.2.2 |
| Composer package | pear/archive_tar | < 1.4.14 | 1.4.14 |
| Drupal (core) | drupal/core | >= 8.0.0, < 8.9.17, >= 9.1.0, < 9.1.11, >= 9.2.0, < 9.2.2 | 8.9.17, 9.1.11, 9.2.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32610
- https://github.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755
- https://github.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4f
- https://github.com/pear/Archive_Tar
- https://github.com/pear/Archive_Tar/releases/tag/1.4.14
- https://lists.debian.org/debian-lts-announce/2021/07/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N
- https://www.drupal.org/sa-core-2021-004
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-59- Platform
- Composer, Drupal
- Package
drupal/core, pear/archive_tar- Disclosed
- 21.07.2021
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-p8q8-jfcv-g2h2 - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CORE-2021-004 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: pear/archive_tar
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 11.2020 07.2023
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 4
Disclosures per year
- 2020: 1
- 2021: 2
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.