Moderate: ruby:3.0 security update

ruby Updated 02 Oct 2025

Summary

30/05/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:3500: Moderate: ruby:3.0 security update. Affects ruby versions < 3.0.7-143.module_el8.10.0+3852+ce828b19. Fixed in 3.0.7-143.module_el8.10.0+3852+ce828b19. 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

This vulnerability affects the Ruby package version 3.0. The following security issues have been identified:

  • HTTP response splitting in CGI (CVE-2021-33621)
  • ReDoS vulnerability in URI (CVE-2023-28755)
  • ReDoS vulnerability in Time (CVE-2023-28756)
  • RCE vulnerability with .rdoc_options in RDoc (CVE-2024-27281)
  • Buffer overread vulnerability in StringIO (CVE-2024-27280)
  • Arbitrary memory address read vulnerability with Regex search (CVE-2024-27282)

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

How To Fix

Minimum fixed version

3.0.7-143.module_el8.10.0+3852+ce828b19

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

Updating the Ruby package to version 3.0.7-143.module_el8.10.0+3852+ce828b19 or later is crucial to mitigate the identified security vulnerabilities. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

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

HTTP response splitting is a vulnerability that allows an attacker to inject arbitrary HTTP headers into a response, potentially leading to various attacks such as cross-site scripting (XSS) or cache poisoning.

A ReDoS (Regular Expression Denial of Service) vulnerability occurs when a regular expression pattern can be exploited to cause the matching algorithm to enter an infinite loop, leading to a denial of service condition.

An RCE (Remote Code Execution) vulnerability allows an attacker to execute arbitrary code on a remote system, potentially leading to full control over the affected system.

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

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

3.0.7-143.module_el8.10.0+3852+ce828b19

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