Vulnerability advisory

CVE-2019-6340

Published Updated OSV record ↗

Also known as DRUPAL-CORE-2019-003GHSA-3gx6-h57h-rm27

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/drupal/drupal ↗
b73ab73d39dca97a12513e8a9e4f4da4b0676f5f to before 41adc71929319a82ab6b894b410be74d6ad40ad541adc71929319a82ab6b894b410be74d6ad40ad5
9b04d294324d9c76be4b596de4316cb8804e8223 to before f4490205b801e91bc77d3b09dcba903e7b35a146f4490205b801e91bc77d3b09dcba903e7b35a146
Also listed as affected (14)
  • 8.5.10
  • 8.6.9
  • 8.6.8
  • 8.5.9
  • 8.5.8
  • 8.6.5
  • 8.6.4
  • 8.6.3
  • 8.6.1
  • 8.5.7
  • 8.6.0
  • 8.5.5
  • 8.5.4
  • 8.5.0

Description

Some field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)

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