Vulnerability advisory

CVE-2021-31402

Published Updated OSV record ↗

Also known as GHSA-9324-jv53-9cc8

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/cfug/dio ↗
0bf69c8ebd7e8c010345feb20034450839571eda to before 1332d3210f83b67deced437aaad9f77abb05201e1332d3210f83b67deced437aaad9f77abb05201e
Also listed as affected (5)
  • 4.0.3
  • 4.0.2
  • 4.0.2-beta1
  • 4.0.1
  • 4.0.0

Description

The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669.

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