Moderate Security Update for Ruby Package: Addressing Multiple Vulnerabilities

ruby Updated 02 Oct 2025

Summary

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

RLSA-2025:4493: Moderate: ruby:3.3 security update. Affects ruby versions < 0:3.3.8-4.module+el9.5.0+31850+530eecc9. Fixed in 0:3.3.8-4.module+el9.5.0+31850+530eecc9. 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 known for its simplicity and productivity. It is widely used for web development and system management tasks. However, recent vulnerabilities have been identified that could potentially compromise its security, particularly in the net-imap, CGI, and uri libraries.

Vulnerability Detail

The vulnerabilities stem from issues in the Ruby libraries: net-imap is susceptible to a Denial of Service (DoS) attack due to memory exhaustion (CVE-2025-25186). The CGI library has a DoS vulnerability in CGI::Cookie.parse (CVE-2025-27219), and the uri library has a userinfo leakage issue in URI#join, URI#merge, and URI#+ (CVE-2025-27221). These vulnerabilities could lead to service disruptions and unauthorized access to sensitive information.

How To Fix

Minimum fixed version

0:3.3.8-4.module+el9.5.0+31850+530eecc9

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 rate limiting on your server to mitigate the risk of DoS attacks. Additionally, avoid using the vulnerable features in the affected libraries until the updates are applied.

Conclusion

In summary, the Ruby package and its related gems have been found to contain multiple vulnerabilities that could lead to significant security risks. It is crucial to update to the patched versions to ensure the safety of your applications. Utilize tools like Vulert for ongoing monitoring of vulnerabilities in your software.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 6.5, indicating a moderate level of risk.

The vulnerabilities could lead to Denial of Service attacks, memory exhaustion, and unauthorized access to sensitive user information.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Implementing rate limiting on your server can help mitigate the risk of DoS attacks until you can apply the updates.

The Rocky Enterprise Software Foundation and Red Hat are responsible for providing the security updates for the affected packages.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

0:3.3.8-4.module+el9.5.0+31850+530eecc9

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