Moderate Vulnerability in Ruby Package: Security Update Required

ruby Updated 02 Oct 2025

Summary

29/07/2025
N/A
Yes i
Medium
5.9

RLSA-2025:4488: Moderate: ruby:3.1 security update. Affects ruby versions < 0:3.1.7-146.module+el9.5.0+31847+8b291b93. Fixed in 0:3.1.7-146.module+el9.5.0+31847+8b291b93. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 is known for its simplicity and productivity. However, recent vulnerabilities have been identified that could potentially lead to denial of service (DoS) attacks, particularly affecting the REXML library and CGI module.

Vulnerability Detail

The vulnerabilities stem from multiple issues within the Ruby ecosystem, particularly in the REXML library and CGI module. These include DoS vulnerabilities when parsing XML with specific characters, as well as ReDoS (Regular Expression Denial of Service) in CGI utilities. The vulnerabilities could allow attackers to exploit the system, leading to service interruptions and potential data exposure.

How To Fix

Minimum fixed version

0:3.1.7-146.module+el9.5.0+31847+8b291b93

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 updates cannot be applied, consider implementing input validation to sanitize XML inputs and limit the size of requests to the CGI module to mitigate the risk of DoS attacks.

Conclusion

In summary, the Ruby package has several vulnerabilities that require immediate attention. Updating to the latest patched versions of the affected packages is crucial to maintaining system integrity and security. Additionally, implementing workarounds can help mitigate risks until updates are applied.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

The CVSS score of the vulnerability is 5.9, indicating a moderate severity level.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.

The vulnerabilities could lead to denial of service attacks, causing service interruptions and potentially exposing sensitive data.

While specific exploits may not be publicly available, the nature of the vulnerabilities suggests that they could be exploited to disrupt services.

Implement input validation and limit request sizes to mitigate risks until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

0:3.1.7-146.module+el9.5.0+31847+8b291b93

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.