HighGHSA-gvf2-2f4g-jqf4BIT-drupal-2024-55638CVE-2024-55638DRUPAL-CORE-2024-008

Drupal core contains a potential PHP Object Injection vulnerability

Published 10 Dec 2024 · Updated 10 Dec 2025

Affected packages

drupal/coreComposer
Affected
>=8.8.0 <10.2.11
Fixed in
10.2.11
Update to the fixed version for your release line, for example:composer require drupal/core:^10.2.11
drupal/coreComposer
Affected
>=10.3.0 <10.3.9
Fixed in
10.3.9
Update to the fixed version for your release line, for example:composer require drupal/core:^10.3.9
drupal/coreComposer
Affected
>=7.0 <7.102
Fixed in
7.102
Update to the fixed version for your release line, for example:composer require drupal/core:^7.102
Affected
>=8.8.0 <10.2.11
Fixed in
10.2.11
Update to the fixed version for your release line, for example:composer require drupal/core-recommended:^10.2.11
Affected
>=10.3.0 <10.3.9
Fixed in
10.3.9
Update to the fixed version for your release line, for example:composer require drupal/core-recommended:^10.3.9
Affected
>=7.0 <7.102
Fixed in
7.102
Update to the fixed version for your release line, for example:composer require drupal/core-recommended:^7.102
Affected
>=8.8.0 <10.2.11
Fixed in
10.2.11
Update to the fixed version for your release line, for example:composer require drupal/drupal:^10.2.11
Affected
>=10.3.0 <10.3.9
Fixed in
10.3.9
Update to the fixed version for your release line, for example:composer require drupal/drupal:^10.3.9
Affected
>=7.0 <7.102
Fixed in
7.102
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.102

Details

Drupal core contains a potential PHP Object Injection vulnerability that (if combined with another exploit) could lead to Remote Code Execution. It is not directly exploitable.

This issue is mitigated by the fact that in order for it to be exploitable, a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in Drupal core.

To help protect against this potential vulnerability, some additional checks have been added to Drupal core's database code. If you use a third-party database driver, check the release notes for additional configuration steps that may be required in certain cases.

This issue affects Drupal Core: from 7.0 before 7.102, from 8.0.0 before 10.2.11, from 10.3.0 before 10.3.9.

Is GHSA-gvf2-2f4g-jqf4 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.