Vulnerability advisory

CVE-2020-13671

Published Updated OSV record ↗

Also known as BIT-drupal-2020-13671DRUPAL-CORE-2020-012GHSA-68jc-v27h-vhmw

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/drupal/drupal ↗
497914920385b7016ac9c9367e0198530787adf2 to before f941729699e7f49901b30f3aaa71449e44a984c0f941729699e7f49901b30f3aaa71449e44a984c0
f2b59e3ae8097ea01d15c708f1267b73794399c0 to before 4ad29cfc1d1cc51fab880312efa53ca9d0084d604ad29cfc1d1cc51fab880312efa53ca9d0084d60
a412ca41cfc0d954fe3cb2dd982dc6ca049b1c70 to before afd99c2de06fa374c3c0434cb9efe1e2d5a6dcb3afd99c2de06fa374c3c0434cb9efe1e2d5a6dcb3
d62812dc17ce593beb2ccd4cdbee1a76c95e3fd7 to before edaba481ce445487f669deff5cc012af422dc874edaba481ce445487f669deff5cc012af422dc874
Also listed as affected (51)
  • 7.73
  • 8.8.10
  • 8.9.8
  • 9.0.7
  • 8.8.9
  • 8.9.5
  • 9.0.5
  • 7.72
  • 8.9.4
  • 8.9.3
  • 9.0.3
  • 8.9.2
  • 9.0.2
  • 7.71
  • 8.8.7
  • 8.9.0
  • 9.0.0
  • 8.8.5
  • 8.8.3
  • 8.8.2
  • 8.8.0
  • 7.68
  • 7.64
  • 7.61
  • 7.56
  • 7.55
  • 7.54
  • 7.51
  • 7.50
  • 7.43
  • 7.42
  • 7.40
  • 7.37
  • 7.36
  • 7.33
  • 7.30
  • 7.28
  • 7.25
  • 7.23
  • 7.22
  • 7.17
  • 7.15
  • 7.14
  • 7.12
  • 7.10
  • 7.9
  • 7.8
  • 7.7
  • 7.6
  • 7.4
  • 7.0

Description

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.

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