Moderate Security Update for Ruby: Addressing Denial of Service Vulnerabilities
Summary
ALSA-2025:23063: Moderate: ruby:3.3 security update. Affects ruby versions < 3.3.10-5.module_el9.7.0+193+58179166. Fixed in 3.3.10-5.module_el9.7.0+193+58179166. 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 resources efficiently. However, recent vulnerabilities have been identified in the Ruby ecosystem, particularly affecting the resolv and rexml gems, which can lead to denial of service attacks.
Vulnerability Detail
The vulnerabilities identified in Ruby include CVE-2025-24294 and CVE-2025-58767. CVE-2025-24294 affects the resolv gem, allowing attackers to exploit it to cause a denial of service, potentially leading to service interruptions. Similarly, CVE-2025-58767 impacts the rexml gem, which can also be exploited to achieve denial of service. These vulnerabilities can compromise the availability of applications relying on these gems, making it crucial for developers to address them promptly.
How To Fix
Minimum fixed version
3.3.10-5.module_el9.7.0+193+58179166
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
If immediate updating is not feasible, consider implementing rate limiting on the affected services to mitigate the risk of denial of service attacks. Additionally, monitor your application for unusual traffic patterns that may indicate an ongoing attack.
Conclusion
The recent security update for Ruby addresses critical vulnerabilities that could lead to denial of service attacks. It is essential for developers to update their Ruby packages promptly to ensure the security and availability of their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for ruby →
FAQ
The vulnerabilities include CVE-2025-24294 in the resolv gem and CVE-2025-58767 in the rexml gem, both of which can lead to denial of service.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. Visit Vulert Scanner to check your application without needing to sign up.
Exploiting these vulnerabilities can lead to service interruptions, affecting the availability of applications that depend on the affected Ruby gems.
It is recommended to regularly check for updates and apply them as soon as security patches are released to minimize the risk of vulnerabilities.
Implement rate limiting and monitor for unusual traffic patterns as a temporary measure to mitigate the risk of denial of service attacks.
Related vulnerabilities
Recent vulnerabilities recorded for ruby.