Vulnerability advisory

GHSA-w6rx-9g2x-mg5g

Drupal core contains a potential PHP Object Injection vulnerability

Published Updated OSV record ↗

Also known as BIT-drupal-2024-55637CVE-2024-55637DRUPAL-CORE-2024-007

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVSS 4.0CVSS: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 versions

AffectedFixed in
8.8.0 to before 10.2.1110.2.11Advisories →
Also listed as affected (221)
10.3.0 to before 10.3.910.3.9Advisories →
Also listed as affected (9)
11.0.0 to before 11.0.811.0.8Advisories →
Also listed as affected (8)
AffectedFixed in
8.8.0 to before 10.2.1110.2.11Advisories →
Also listed as affected (221)
10.3.0 to before 10.3.910.3.9Advisories →
Also listed as affected (9)
11.0.0 to before 11.0.811.0.8Advisories →
Also listed as affected (8)
AffectedFixed in
8.8.0 to before 10.2.1110.2.11Advisories →
Also listed as affected (221)
10.3.0 to before 10.3.910.3.9Advisories →
Also listed as affected (9)
11.0.0 to before 11.0.811.0.8Advisories →
Also listed as affected (8)

Description

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools