CVE-2024-55638: Drupal/core Drupal Core Contains A Potential Vulnerability

HIGH
Advisory Identifier: GHSA-gvf2-2f4g-jqf4
CVSS 9.8
CWE-502 CWE-915
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-55638
GHSA Identifier GHSA-gvf2-2f4g-jqf4
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Drupal/core
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

drupal/core fixed: 10.2.11
Upgrade drupal/core to 10.2.11
drupal/core fixed: 10.3.9
Upgrade drupal/core to 10.3.9
drupal/core fixed: 7.102
Upgrade drupal/core to 7.102
drupal/core-recommended fixed: 10.2.11
Upgrade drupal/core-recommended to 10.2.11
drupal/core-recommended fixed: 10.3.9
Upgrade drupal/core-recommended to 10.3.9
drupal/core-recommended fixed: 7.102
Upgrade drupal/core-recommended to 7.102
drupal/drupal fixed: 10.2.11
Upgrade drupal/drupal to 10.2.11
drupal/drupal fixed: 10.3.9
Upgrade drupal/drupal to 10.3.9
drupal/drupal fixed: 7.102
Upgrade drupal/drupal to 7.102
Verify Direct and Transitive Dependencies

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

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.

CVE-2024-55638 Affected Drupal/core Versions

9 component(s)
Fixed Versions:
10.2.1110.3.97.102
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?
CVE-2024-55638 is a security vulnerability in Drupal/core involving Drupal core contains a potential PHP Object Injection vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Drupal/core versions are affected?
Affected versions include releases prior to 10.2.11, 10.3.9, 7.102 across affected packages: drupal/core, drupal/core-recommended, drupal/drupal.
What version fixes CVE-2024-55638?
Upgrading to 10.2.11, 10.3.9, 7.102 (or the latest patched release for your respective branch) resolves the vulnerability.
Is drupal/core affected?
Yes, drupal/core is affected in releases prior to 10.2.11, 10.3.9, 7.102. Upgrade your dependency to 10.2.11, 10.3.9, 7.102 or later.
Is drupal/core-recommended affected?
Yes, drupal/core-recommended is affected in releases prior to 10.2.11, 10.3.9, 7.102. Upgrade your dependency to 10.2.11, 10.3.9, 7.102 or later.
What is the CVSS score of CVE-2024-55638?
CVE-2024-55638 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-55638?
CVE-2024-55638 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Packagist dependencies for CVE-2024-55638?
Run the dependency tree command: 'inspect dependencies for drupal/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}