CVE-2024-55638: Drupal/core Drupal Core Contains A Potential Vulnerability
HIGHCVE-2024-55638 is a HIGH (CVSS 9.8) drupal core contains a potential vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves drupal core contains a potential php object injection vulnerability. Remediation is available by upgrading affected packages to version 10.2.11, 10.3.9, 7.102.
CVE-2024-55638 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-55638
To remediate this vulnerability, upgrade all affected Drupal/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade drupal/core to 10.2.11
Upgrade drupal/core to 10.3.9
Upgrade drupal/core to 7.102
Upgrade drupal/core-recommended to 10.2.11
Upgrade drupal/core-recommended to 10.3.9
Upgrade drupal/core-recommended to 7.102
Upgrade drupal/drupal to 10.2.11
Upgrade drupal/drupal to 10.3.9
Upgrade drupal/drupal to 7.102
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-55638, inspect your project dependencies for Drupal/core:
inspect dependencies for drupal/core
Analyze the terminal output to locate any version of Drupal/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.11), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Drupal/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-55638 Affected Drupal/core Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/core
|
Packagist |
≥ 8.8.0
< 10.2.11
|
10.2.11
|
|
drupal/core
|
Packagist |
≥ 10.3.0
< 10.3.9
|
10.3.9
|
|
drupal/core
|
Packagist |
≥ 7.0
< 7.102
|
7.102
|
|
drupal/core-recommended
|
Packagist |
≥ 8.8.0
< 10.2.11
|
10.2.11
|
|
drupal/core-recommended
|
Packagist |
≥ 10.3.0
< 10.3.9
|
10.3.9
|
|
drupal/core-recommended
|
Packagist |
≥ 7.0
< 7.102
|
7.102
|
|
drupal/drupal
|
Packagist |
≥ 8.8.0
< 10.2.11
|
10.2.11
|
|
drupal/drupal
|
Packagist |
≥ 10.3.0
< 10.3.9
|
10.3.9
|
|
drupal/drupal
|
Packagist |
≥ 7.0
< 7.102
|
7.102
|
References
Frequently Asked Questions
What is CVE-2024-55638?
Which Drupal/core versions are affected?
What version fixes CVE-2024-55638?
Is drupal/core affected?
Is drupal/core-recommended affected?
What is the CVSS score of CVE-2024-55638?
What CWE is associated with CVE-2024-55638?
How can I check Packagist dependencies for CVE-2024-55638?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvf2-2f4g-jqf4",
"modified" : "2025-06-04T00:50:20Z",
"published" : "2024-12-10T00:31:27Z",
"aliases" : [ "CVE-2024-55638" ],
"summary" : "Drupal core contains a potential PHP Object Injection vulnerability",
"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.\n\nThis 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.\n\nTo 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. \n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.8.0"
}, {
"fixed" : "10.2.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.102"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.8.0"
}, {
"fixed" : "10.2.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core-recommended"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.102"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.8.0"
}, {
"fixed" : "10.2.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.3.0"
}, {
"fixed" : "10.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.102"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55638"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/core"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/sa-core-2024-008"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-915" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-10T19:09:18Z",
"nvd_published_at" : "2024-12-10T00:15:22Z"
}
}