Moderate: Ruby Security Update

ruby Updated 02 Oct 2025

Summary

11/07/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:4499: Moderate: ruby security update. Affects ruby versions < 2.5.9-112.module_el8.10.0+3871+342e2c2f. Fixed in 2.5.9-112.module_el8.10.0+3871+342e2c2f. 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 Your last release was probably never penetration tested 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. It has features to process text files and to perform system management tasks.

Vulnerability Detail

The Ruby package is affected by multiple vulnerabilities:

  1. ReDoS vulnerability in rubygem-uri due to an incomplete fix for CVE-2023-28755 (CVE-2023-36617).
  2. Buffer overread vulnerability in StringIO (CVE-2024-27280).
  3. Remote Code Execution (RCE) vulnerability with .rdoc_options in RDoc (CVE-2024-27281).
  4. Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282).
  5. Denial of Service (DoS) vulnerability in REXML when parsing an XML with many <s in an attribute value (CVE-2024-35176).

These vulnerabilities can lead to various security issues, including remote code execution, information disclosure, and denial of service attacks.

How To Fix

Minimum fixed version

2.5.9-112.module_el8.10.0+3871+342e2c2f

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 →

Conclusion

The Ruby package is affected by multiple vulnerabilities that can lead to various security issues. It is crucial to update to the latest version to mitigate these risks.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

Ruby is an extensible, interpreted, object-oriented, scripting language known for its simplicity and productivity.

ReDoS stands for Regular Expression Denial of Service. It is a type of vulnerability where a maliciously crafted input can cause the regular expression matching algorithm to exhibit exponential time complexity, leading to denial of service.

A Buffer Overread vulnerability occurs when a program reads data from a buffer beyond its boundaries, potentially exposing sensitive information or causing a crash.

Remote Code Execution is a vulnerability that allows an attacker to execute arbitrary code on a remote system, potentially gaining unauthorized access or control over the system.

Denial of Service is an attack that aims to disrupt the availability of a system or network by overwhelming it with a flood of illegitimate requests or resource-consuming operations.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

2.5.9-112.module_el8.10.0+3871+342e2c2f

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