📡 Breaking news
0/0
Analyzing latest trends...
AI Text-to-Speech.

Ruby Releases Security Patches for Six Memory Corruption Flaws and Crash Bug.

Ruby Releases Security Patches for Six Memory Corruption Flaws and Crash Bug.
Ruby Releases Security Updates Fixing Six Memory Corruption Flaws and Denial-of-Service Crash Bug

The Ruby core development team has released urgent security patches addressing six memory corruption vulnerabilities and one denial-of-service crash bug primarily affecting regular expression processing and string case-conversion routines.

Administrators and developers running Ruby web applications such as Ruby on Rails, Sinatra, or background API services are urged to upgrade immediately to Ruby 4.0.10, 3.4.13, or 3.3.14, as applications that accept untrusted user input into regular expressions or string transformation functions face risks ranging from process crashes to sensitive memory disclosure.

Breakdown of Patched Security Advisories and Supported Versions

  • Six Memory Safety and Crash Advisories in Regex and String Handling:

    • GHSA-7x2q-68qv-6p8x (Double-Free Vulnerability): Occurs when an attacker supplies a specially crafted regular expression that the application dynamically compiles at runtime, triggering a double-free memory corruption condition.

    • GHSA-87fm-7w84-j2px (String Case-Conversion Flaw): A memory vulnerability triggered during upper- and lower-case character conversion when processing untrusted text input provided by a user.

    • GHSA-wpqw-5qxg-m68r (Out-of-Bounds Memory Read): Occurs when an attacker passes a maliciously crafted string to be matched against a regular expression, causing the engine to read past allocated memory boundaries.

    • GHSA-3p8q-wmhx-vm2w (Heap Buffer Overflow During Compilation): Triggered when compiling an attacker-supplied regular expression at runtime, allowing out-of-bounds heap memory writes.

    • GHSA-7whj-cfh7-xgm4 (Heap Buffer Overflow During String Serialization): Occurs when converting a regular expression object back into a string representation, resulting in a heap buffer overflow.

    • GHSA-pvgc-g7gj-pv6h (Out-of-Bounds Read & Memory Exposure): Triggered during regular expression matching operations, enabling attackers to crash the Ruby worker process or leak sensitive data residing in process memory.

  • Patched Ruby Releases and End-of-Life Warning:

    • Supported Patched Versions: Security fixes are available immediately in Ruby 4.0.10, Ruby 3.4.13, and Ruby 3.3.14.

    • Ruby 3.2 and Older Unsupported: The Ruby team emphasized that Ruby 3.2 and all earlier branches have reached End-of-Life (EOL) and will not receive security patches for these vulnerabilities, requiring organizations on legacy runtimes to migrate to a supported release line.

 

Source: Ruby 

💬 AI Content Assistant

Ask me anything about this article. No data is stored for your question.

Comments