Advisory

USN-4882-1

Also known as: CVE-2020-10663, CVE-2020-10933, CVE-2020-25613

Summary

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

Details

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)

Severity

Not rated by the source.

Dates

Published
2021-03-18 17:00 UTC
Modified
2026-04-27 16:03 UTC

Affected packages and fixes

ruby2.3

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.3.1-2~ubuntu16.04.15 (ecosystem)

Fixed versions

2.3.1-2~ubuntu16.04.15

Fix

  • Fixed version 2.3.1-2~ubuntu16.04.15
    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.5

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

2.5.1-1ubuntu1.8

Fix

  • Fixed version 2.5.1-1ubuntu1.8
    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.3 (ecosystem)

Fixed versions

2.7.0-5ubuntu1.3

Fix

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