Moderate: ruby:3.0 security, bug fix, and enhancement update

ruby Updated 02 Oct 2025

Summary

13/09/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:6450: Moderate: ruby:3.0 security, bug fix, and enhancement update. Affects ruby versions < 3.0.4-141.module_el8.6.0+3263+41cde0c0. Fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. The vulnerability affects the following packages: ruby, ruby-default-gems, ruby-devel, ruby-doc, ruby-libs, rubygem-abrt, rubygem-abrt-doc, rubygem-bigdecimal, rubygem-bundler, rubygem-io-console, rubygem-irb, rubygem-json, rubygem-minitest, rubygem-mysql2, rubygem-mysql2-doc, rubygem-pg, rubygem-pg-doc, rubygem-power_assert, rubygem-psych, rubygem-rake, rubygem-rbs, rubygem-rdoc, rubygem-rexml, rubygem-rss, rubygem-test-unit, rubygem-typeprof, rubygems, rubygems-devel.

Vulnerability Detail

The vulnerability includes the following security issues:

  1. Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)
  2. Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)
  3. Double free in Regexp compilation (CVE-2022-28738)
  4. Buffer overrun in String-to-Float conversion (CVE-2022-28739)

These vulnerabilities can lead to various consequences, including denial of service, spoofing, and memory corruption.

How To Fix

Minimum fixed version

3.0.4-141.module_el8.6.0+3263+41cde0c0

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:3.0 security, bug fix, and enhancement update includes fixes for several vulnerabilities that can lead to denial of service, spoofing, and memory corruption. It is recommended to upgrade the affected packages to the latest version (ruby 3.0.4) to mitigate these vulnerabilities. For more information and support, please contact DevNack.com.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

These vulnerabilities can lead to denial of service, spoofing, and memory corruption.

No specific workarounds have been mentioned for these vulnerabilities.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by these vulnerabilities. Simply upload your manifest file (e.g., package-lock.json) and Vulert will provide real-time alerts for open-source vulnerabilities.

For more details about these vulnerabilities, including the impact, CVSS score, acknowledgments, and related information, refer to the CVE pages listed in the References section.

For further support on vulnerability remediation, you can contact info@devnack.com.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

3.0.4-141.module_el8.6.0+3263+41cde0c0

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