USN-4882-1

Type: Security
Severity: Medium
Published: 2021-03-18
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that the Ruby JSON gem incorrectly handled certain JSON files. If a user or automated system were tricked into parsing a specially crafted JSON file, a remote attacker could use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-10663) It was discovered that Ruby incorrectly handled certain socket memory operations. A remote attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-10933) It was discovered that Ruby incorrectly handled certain transfer-encoding headers when using Webrick. A remote attacker could possibly use this issue to bypass a reverse proxy. (CVE-2020-25613) Update Instructions: Run `sudo pro fix USN-4882-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.3 ruby2.7-doc - 2.7.0-5ubuntu1.3 ruby2.7-dev - 2.7.0-5ubuntu1.3 libruby2.7 - 2.7.0-5ubuntu1.3 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T07:36:28.997Z UTC.

Upstream Advisory

Affected Packages

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

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

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

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

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