USN-5020-1

Type: Security
Severity: Medium
Published: 2021-07-21
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-31799) It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to conduct port scans and service banner extractions. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 20.10, and Ubuntu 21.04. (CVE-2021-31810) It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to perform machine-in-the-middle attackers to bypass the TLS protection. (CVE-2021-32066) Update Instructions: Run `sudo pro fix USN-5020-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.5 ruby2.7-doc - 2.7.0-5ubuntu1.5 ruby2.7-dev - 2.7.0-5ubuntu1.5 libruby2.7 - 2.7.0-5ubuntu1.5 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:47:35.236Z UTC.

Upstream Advisory

Affected Packages

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

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

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

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

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