Vulnerability advisory

CVE-2023-22792

Published Updated OSV record ↗

Also known as GHSA-p84v-45xj-wwqj

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
9891ca89c69732a21743f0349f2995956a7802e7 to before 28bb76d3efc39b2ef663dfe2346f7c2621343cd628bb76d3efc39b2ef663dfe2346f7c2621343cd6
914caca2d31bd753f47f9168f2a375921d9e91cc to before c443466a99f8ed951605fb4993a01de5e41349a4c443466a99f8ed951605fb4993a01de5e41349a4
984c3ef2775781d47efa9f541ce570daa2434a80 to before 23e0345fe900dfd7edd6e8e5a7a6bd54b2a7d2ed23e0345fe900dfd7edd6e8e5a7a6bd54b2a7d2ed
Also listed as affected (12)
  • v6.1.7
  • v7.0.4
  • v7.0.3
  • v6.1.5
  • v7.0.2
  • v7.0.1
  • v7.0.0
  • v6.1.4
  • v6.1.3
  • v6.1.2
  • v6.1.1
  • v6.1.0

Description

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

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