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
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.
- 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.
Impact: Remote code execution from crafted strings or regular expressions
| Product | Affected | Fixed in |
|---|---|---|
| Ruby | 4.0.0 through 4.0.9; 3.4.0 through 3.4.12; 3.3.13 and earlier; 3.2 and earlier | 4.0.10, 3.4.13, 3.3.14; 3.2 and earlier not fixed |
- 1.Upgrade running interpreters to Ruby 4.0.10, 3.4.13 or 3.3.14, then restart or rebuild.
- 2.Move Ruby 3.2 and earlier onto a supported release line.
- 3.Track the flaws by their GitHub advisory IDs until CVEs are assigned.
- Vendors
- Ruby
- Organizations
- Ada LogicsAnthropic
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.
thehackernews.com
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.