Critical RubyGems Flaw Could Have Let Any Gem Publisher Run Code on the Registry

TL;DR: RubyGems.org, the central registry for the Ruby community's gems, has fixed a critical flaw that let any account with a push-capable API key feed an attacker-controlled regular expression into the metadata of a gem upload.
Longer Read: In local testing, the registry's maintainers chained the flaw with a memory corruption bug in Ruby's regexp compiler and reached remote code execution, they said in an advisory last week. Gem users do not need to do anything. A review of production telemetry and 29,100 gems published between October 5 and November 4 found "no direct evidence of exploitation," the advisory says.
Read the full story at Thehackernews →
Related Skills: Vulnerability Research
Wider Reading: PortSwigger Web Security Academy — Vulnerability ResearchOWASP Top 10 — Vulnerability ResearchedX — Vulnerability Research

💬 0 comments

No comments yet — be the first to say what you think.