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

HIGH
Advisory Identifier: GHSA-w6rx-9g2x-mg5g
CVSS 9.8
CWE-502 CWE-915
Published
Advisory Summary

CVE-2024-55637 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, 11.0.8.

CVE-2024-55637 at a Glance

CVE Identifier CVE-2024-55637
GHSA Identifier GHSA-w6rx-9g2x-mg5g
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-55637

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: 11.0.8
Upgrade drupal/core to 11.0.8
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: 11.0.8
Upgrade drupal/core-recommended to 11.0.8
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: 11.0.8
Upgrade drupal/drupal to 11.0.8
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-55637, 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, types have been added to properties in some of Drupal core's classes. If an application extends those classes, the same types may need to be specified on the subclass to avoid a `TypeError`. This issue affects Drupal Core: from 8.0.0 before 10.2.11, from 10.3.0 before 10.3.9, from 11.0.0 before 11.0.8.

CVE-2024-55637 Affected Drupal/core Versions

9 component(s)
Fixed Versions:
10.2.1110.3.911.0.8
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
≥ 11.0.0
< 11.0.8
11.0.8
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
≥ 11.0.0
< 11.0.8
11.0.8
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
≥ 11.0.0
< 11.0.8
11.0.8

References

Frequently Asked Questions

What is CVE-2024-55637?
CVE-2024-55637 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, 11.0.8 across affected packages: drupal/core, drupal/core-recommended, drupal/drupal.
What version fixes CVE-2024-55637?
Upgrading to 10.2.11, 10.3.9, 11.0.8 (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, 11.0.8. Upgrade your dependency to 10.2.11, 10.3.9, 11.0.8 or later.
Is drupal/core-recommended affected?
Yes, drupal/core-recommended is affected in releases prior to 10.2.11, 10.3.9, 11.0.8. Upgrade your dependency to 10.2.11, 10.3.9, 11.0.8 or later.
What is the CVSS score of CVE-2024-55637?
CVE-2024-55637 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-55637?
CVE-2024-55637 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-55637?
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-w6rx-9g2x-mg5g",
  "modified" : "2025-06-04T00:43:36Z",
  "published" : "2024-12-10T00:31:27Z",
  "aliases" : [ "CVE-2024-55637" ],
  "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, types have been added to properties in some of Drupal core's classes. If an application extends those classes, the same types may need to be specified on the subclass to avoid a `TypeError`.\n\nThis issue affects Drupal Core: from 8.0.0 before 10.2.11, from 10.3.0 before 10.3.9, from 11.0.0 before 11.0.8.",
  "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" : "11.0.0"
      }, {
        "fixed" : "11.0.8"
      } ]
    } ]
  }, {
    "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" : "11.0.0"
      }, {
        "fixed" : "11.0.8"
      } ]
    } ]
  }, {
    "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" : "11.0.0"
      }, {
        "fixed" : "11.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55637"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/drupal/core/commit/1664030d399c73b4144f410f2ccc68c66a947f8d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/drupal/core"
  }, {
    "type" : "WEB",
    "url" : "https://www.drupal.org/sa-core-2024-007"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502", "CWE-915" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-10T19:09:22Z",
    "nvd_published_at" : "2024-12-10T00:15:22Z"
  }
}