Advisory

USN-5235-1

Also known as: CVE-2021-41816, CVE-2021-41817, CVE-2021-41819

Summary

ruby2.3, ruby2.5, ruby2.7 vulnerabilities

Details

It was discovered that Ruby incorrectly handled certain HTML files.
An attacker could possibly use this issue to cause a crash. This
issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04, and Ubuntu 21.10.
(CVE-2021-41816)

It was discovered that Ruby incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause a regular expression
denial of service. (CVE-2021-41817)

It was discovered that Ruby incorrectly handled certain cookie names.
An attacker could possibly use this issue to access or expose
sensitive information. (CVE-2021-41819)

Severity

Not rated by the source.

Dates

Published
2022-01-18 17:13 UTC
Modified
2026-06-25 13:30 UTC

Affected packages and fixes

ruby2.5

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

2.5.1-1ubuntu1.11

Fix

  • Fixed version 2.5.1-1ubuntu1.11
    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.

ruby2.7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.7.0-5ubuntu1.6 (ecosystem)

Fixed versions

2.7.0-5ubuntu1.6

Fix

  • Fixed version 2.7.0-5ubuntu1.6
    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