Drupal core Arbitrary PHP code execution
Published 15 May 2024 · Updated 29 Nov 2024
Affected packages
- Affected
- >=7.0.0 <7.75
- Fixed in
- 7.75
composer require drupal/core:^7.75- Affected
- >=8.0.0 <8.8.12
- Fixed in
- 8.8.12
composer require drupal/core:^8.8.12- Affected
- >=8.9.0 <8.9.10
- Fixed in
- 8.9.10
composer require drupal/core:^8.9.10- Affected
- >=9.0.0 <9.0.9
- Fixed in
- 9.0.9
composer require drupal/core:^9.0.9Details
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.