Vulnerability advisory

CVE-2022-25274

Published Updated OSV record ↗

Also known as BIT-drupal-2022-25274DRUPAL-CORE-2022-009GHSA-7jr4-hgqx-vwgq

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/drupal/drupal ↗
698ee686c23de8c97d7e0601cf745b220d54f4e1 to before aa750f98c476ab867f6c6a14bbafcd2e98814512aa750f98c476ab867f6c6a14bbafcd2e98814512
Also listed as affected (6)
  • 9.3.11
  • 9.3.10
  • 9.3.7
  • 9.3.4
  • 9.3.2
  • 9.3.0

Description

Drupal 9.3 implemented a generic entity access API for entity revisions. However, this API was not completely integrated with existing permissions, resulting in some possible access bypass for users who have access to use revisions of content generally, but who do not have access to individual items of node and media content. This vulnerability only affects sites using Drupal's revision system.

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