Advisory

USN-5806-2

Also known as: CVE-2021-33621

Summary

ruby2.5, ruby3.0 vulnerability

Details

USN-5806-1 fixed vulnerabilities in Ruby. This update fixes the problem
for Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.10.

Original advisory details:

Hiroshi Tokumaru discovered that Ruby did not properly handle certain
user input for applications which generate HTTP responses using cgi gem.
An attacker could possibly use this issue to maliciously modify the
response a user would receive from a vulnerable application.

Severity

Not rated by the source.

Dates

Published
2023-01-23 14:41 UTC
Modified
2026-04-27 16:29 UTC

Affected packages and fixes

ruby2.5

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.5.1-1ubuntu1.13 (ecosystem)

Fixed versions

2.5.1-1ubuntu1.13

Fix

  • Fixed version 2.5.1-1ubuntu1.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby3.0

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.0.2-7ubuntu2.3 (ecosystem)

Fixed versions

3.0.2-7ubuntu2.3

Fix

  • Fixed version 3.0.2-7ubuntu2.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences