Security Update for ruby2.5

ruby2.5 Updated 02 Oct 2025

Summary

09/06/2023
N/A
Yes i
Unrated
Not published

DLA-3450-1: ruby2.5 - security update. Affects ruby2.5 versions < 2.5.5-3+deb10u6. Fixed in 2.5.5-3+deb10u6. 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

ruby2.5 is an interpreter for the Ruby programming language. It is widely used for web development and other applications. The vulnerability affects version 2.5.5-3+deb10u6 of the package in Debian 10 buster.

Vulnerability Detail

The vulnerability, identified as CVE-2021-33621, arises from Ruby's mishandling of user input in applications that generate HTTP responses using the cgi gem. This flaw could allow an attacker to modify the response received by a user from a vulnerable application. Another vulnerability, CVE-2022-28739, involves Ruby incorrectly handling certain inputs, potentially leading to the exposure of sensitive information.

How To Fix

Minimum fixed version

2.5.5-3+deb10u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby2.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

It is crucial to promptly upgrade your ruby2.5 packages to address these security vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for ruby2.5 →

Share this vulnerability

FAQ

Ruby2.5 is an interpreter for the Ruby programming language, commonly used for web development and other applications.

CVE-2021-33621 allows an attacker to maliciously modify the response received by a user from a vulnerable application.

CVE-2022-28739 can lead to the exposure of sensitive information.

To fix the vulnerability, upgrade your ruby2.5 packages to version 2.5.5-3+deb10u6 or later.

You can find more information about ruby2.5 security on its security tracker page: https://security-tracker.debian.org/tracker/ruby2.5

Related vulnerabilities

Recent vulnerabilities recorded for ruby2.5.

How To Fix

Minimum fixed version

2.5.5-3+deb10u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby2.5

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