ADVISORIES

Ubuntu Security Notice

USN-5020-1

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

Details

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)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm1 (fixed in 2.3.1-2~ubuntu16.04.16+esm1)
Ubuntu:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.10 (fixed in 2.5.1-1ubuntu1.10)
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.5 (fixed in 2.7.0-5ubuntu1.5)

References