USN-5235-1

Type: Security
Severity: Medium
Published: 2022-01-18
Ubuntu 20.04 LTS (Focal Fossa)

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) Update Instructions: Run `sudo pro fix USN-5235-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ruby2.7 - 2.7.0-5ubuntu1.6 ruby2.7-doc - 2.7.0-5ubuntu1.6 libruby2.7 - 2.7.0-5ubuntu1.6 ruby2.7-dev - 2.7.0-5ubuntu1.6 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2025-11-26T07:57:43.001Z UTC.

Upstream Advisory

Affected Packages

  • ruby2.7 2.7.0-5ubuntu1.6-2.7.0-5ubuntu1.6

  • ruby2.7-doc 2.7.0-5ubuntu1.6-2.7.0-5ubuntu1.6

  • libruby2.7 2.7.0-5ubuntu1.6-2.7.0-5ubuntu1.6

  • ruby2.7-dev 2.7.0-5ubuntu1.6-2.7.0-5ubuntu1.6

Interested in being alerted when there are new versions of ruby2.7 and the other packages? Set up an alert.
USN-5235-1: Ruby vulnerabilities | Package Alert