Vulnerability advisory

GHSA-cg4j-q9v8-6v38

Rails Active Support has a possible ReDoS vulnerability in number_to_delimited

Published Updated OSV record ↗

Also known as CVE-2026-33169

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected versions

AffectedFixed in
8.1.0.beta1 to before 8.1.2.18.1.2.1Advisories →
Also listed as affected (5)
8.0.0.beta1 to before 8.0.4.18.0.4.1Advisories →
Also listed as affected (10)
All versions before 7.2.3.17.2.3.1Advisories →
Also listed as affected (482)

Description

Impact

NumberToDelimitedConverter used a regular expression with gsub! to insert thousands delimiters. This could produce quadratic time complexity on long digit strings.

Releases

The fixed releases are available at the normal locations.

Credit

This issue was responsibly reported by Hackerone researcher scyoon.

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