Skip to content
NewA calmer, faster ZeroHour

Ruby fixes seven regex and string flaws, five with RCE proofs of concept

Original title: Ruby Releases Fixes for 7 Regex and String Flaws, Warns 5 Have Proof-of-Concept RCE

The Hacker News ()4 min read
Part of a story covered by 4 sourcesRuby fixes seven regex and string memory flaws in three releasesMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Fixed releases are 4.0.10, 3.4.13 and 3.3.14; Ruby 3.2 and earlier stay unfixed.

Ruby maintainers patched seven memory-safety flaws in the regular expression engine and string case-conversion code. They rate three critical, three high and one moderate, and say proof-of-concept exploits show five can run code from crafted input. Advisories report no attacks so far. CVE numbers have been requested but not assigned; GitHub advisory IDs are the current trackers.

Unconfirmed: CVE identifiers have been requested but are not assigned yet.

Key facts
  • Affected ranges are 4.0.0–4.0.9, 3.4.0–3.4.12, and 3.3.13 and earlier.
  • Ruby 3.2 and earlier are end of life and will not be fixed.
  • Gems or framework updates do not replace a vulnerable Ruby interpreter.
  • One high-severity case-change overflow needs a result larger than 4 GiB.
  • The moderate flaw may disclose memory or crash the process.
Security assessment · AI, from the articlePublic proof of concept

Impact: Remote code execution from crafted strings or regular expressions

ProductAffectedFixed in
Ruby4.0.0 through 4.0.9; 3.4.0 through 3.4.12; 3.3.13 and earlier; 3.2 and earlier4.0.10, 3.4.13, 3.3.14; 3.2 and earlier not fixed
What to do
  1. 1.Upgrade running interpreters to Ruby 4.0.10, 3.4.13 or 3.3.14, then restart or rebuild.
  2. 2.Move Ruby 3.2 and earlier onto a supported release line.
  3. 3.Track the flaws by their GitHub advisory IDs until CVEs are assigned.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

4 min read at thehackernews.com

Ruby contains seven memory-safety flaws in its regular expression engine and its string case-conversion code. For five of them, its maintainers say, proof-of-concept exploits, or PoCs, have shown that crafted input can run code on the machine. "We are aware of PoCs that prove some of them can be used to trigger remote code execution," the maintainers said.

The Hacker News

thehackernews.com

Read the full article at The Hacker News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.