HighGHSA-gxxj-g9v8-w28p

Drupal core Arbitrary PHP code execution

Published 15 May 2024 · Updated 29 Nov 2024

Affected packages

drupal/coreComposer
Affected
>=7.0.0 <7.75
Fixed in
7.75
Update to the fixed version for your release line, for example:composer require drupal/core:^7.75
drupal/coreComposer
Affected
>=8.0.0 <8.8.12
Fixed in
8.8.12
Update to the fixed version for your release line, for example:composer require drupal/core:^8.8.12
drupal/coreComposer
Affected
>=8.9.0 <8.9.10
Fixed in
8.9.10
Update to the fixed version for your release line, for example:composer require drupal/core:^8.9.10
drupal/coreComposer
Affected
>=9.0.0 <9.0.9
Fixed in
9.0.9
Update to the fixed version for your release line, for example:composer require drupal/core:^9.0.9

Details

The Drupal project uses the PEAR Archive_Tar library. The PEAR Archive_Tar library has released a security update that impacts Drupal. For more information please see: CVE-2020-28948 CVE-2020-28949

Multiple vulnerabilities are possible if Drupal is configured to allow .tar, .tar.gz, .bz2, or .tlz file uploads and processes them.

To mitigate this issue, prevent untrusted users from uploading .tar, .tar.gz, .bz2, or .tlz files.

Is GHSA-gxxj-g9v8-w28p 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.