Moderate Security Update for Ruby: Addressing Multiple Vulnerabilities
Summary
ALSA-2025:10217: Moderate: ruby:3.3 security update. Affects ruby versions < 3.3.8-4.module_el8.10.0+4022+8b66723c. Fixed in 3.3.8-4.module_el8.10.0+4022+8b66723c. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ruby is an extensible, interpreted, object-oriented scripting language widely used for web development and system management tasks. It offers features for processing text files and managing system operations efficiently. However, recent vulnerabilities have been identified in Ruby's libraries, particularly affecting the net-imap, CGI, and uri components, which could lead to potential denial of service and information leakage.
Vulnerability Detail
The vulnerabilities identified in Ruby include a possible denial of service (DoS) due to memory exhaustion in the net-imap library (CVE-2025-25186), a denial of service in CGI::Cookie.parse (CVE-2025-27219), and userinfo leakage in URI#join, URI#merge, and URI#+ (CVE-2025-27221). These vulnerabilities can be exploited by attackers to disrupt service availability or leak sensitive information.
How To Fix
Minimum fixed version
3.3.8-4.module_el8.10.0+4022+8b66723c
This is the first release that contains the fix.
sudo dnf update ruby
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, consider limiting access to the affected components or implementing rate limiting on your application to mitigate the risk of denial of service attacks until the update can be applied.
Conclusion
The identified vulnerabilities in Ruby pose significant risks, including denial of service and information leakage. It is crucial to update to the latest patched version to mitigate these risks effectively. Implementing temporary workarounds can help protect applications until updates are applied.
See every vulnerability recorded for ruby →
FAQ
The vulnerabilities include potential denial of service attacks and information leakage, primarily affecting the net-imap, CGI, and uri libraries.
You can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider implementing rate limiting and restricting access to the affected components as a temporary measure.
Yes, versions prior to 3.3.8-4.module_el8.10.0+4022+8b66723c are vulnerable to these issues.
The vulnerabilities can lead to service disruptions and unauthorized access to sensitive information, which can compromise application security.
Related vulnerabilities
Recent vulnerabilities recorded for ruby.