USN-9176-2: Ruby vulnerabilities
USN-9176-1 fixed vulnerabilities in Ruby. This update provides the corresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Original advisory details: Stephan Lipp discovered that Ruby incorrectly handled converting the case of certain strings. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (GHSA-34m4-m9fh-gqp5) Owais Lone discovered that Ruby incorrectly handled compiling certain large regular expressions. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (GHSA-3p8q-wmhx-vm2w) Stephan Lipp discovered that Ruby incorrectly handled converting certain regular expressions to strings. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (GHSA-7whj- cfh7-xgm4) Stephan Lipp discovered that Ruby incorrectly handled memory when parsing certain regular expressions. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (GHSA-7x2q-68qv-6p8x) It was discovered that Ruby incorrectly handled converting the case of certain large strings. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (GHSA-87fm-7w84-j2px) It was discovered that Ruby incorrectly handled certain case-insensitive regular expressions. An attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (GHSA-pvgc-g7gj-pv6h) Stephan Lipp discovered that Ruby incorrectly handled certain case- insensitive regular expressions. An attacker could possibly use this issue to cause a denial of service or obtain sensitive information. (GHSA- wpqw-5qxg-m68r)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libruby2.7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.7to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.7-devto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libruby2.5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.5to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.5-devto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libruby2.3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.3to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.3-devto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/ruby2.3-tcltkto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch USN-9176-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch USN-9176-2
Event History
Frequently Asked Questions
Which Ubuntu releases are covered by this update?
The update provides corresponding Ruby fixes for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.
What impact could successful exploitation have?
The described issues could allow an attacker to cause a denial of service or execute arbitrary code.
What kinds of Ruby inputs are implicated?
The issues involve case conversion of certain strings, compilation of large regular expressions, conversion of certain regular expressions to strings, and memory handling while parsing certain regular expressions.