LowDRUPAL-CORE-2021-004CVE-2021-32610GHSA-p8q8-jfcv-g2h2

DRUPAL-CORE-2021-004 in drupal/core

Published 21 Jul 2021 · Updated 19 Sept 2026

Affected package

drupal/coreComposer
Affected
>=8.0.0 <8.9.17 · >=9.1.0 <9.1.11 · >=9.2.0 <9.2.2
Fixed in
8.9.17, 9.1.11, 9.2.2
Update to the fixed version for your release line, for example:composer require drupal/core:^9.2.2

Details

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](/steward).

Is DRUPAL-CORE-2021-004 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.