{"id":"USN-9176-2","summary":"ruby2.7, ruby2.5, ruby2.3 vulnerabilities","details":"USN-9176-1 fixed vulnerabilities in Ruby. This update provides the\ncorresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu\n20.04 LTS.\n\nOriginal advisory details:\n\n Stephan Lipp discovered that Ruby incorrectly handled converting the case\n of certain strings. An attacker could possibly use this issue to cause a\n denial of service or execute arbitrary code. (GHSA-34m4-m9fh-gqp5)\n\n Owais Lone discovered that Ruby incorrectly handled compiling certain\n large regular expressions. An attacker could possibly use this issue to\n cause a denial of service or execute arbitrary code. (GHSA-3p8q-wmhx-vm2w)\n\n Stephan Lipp discovered that Ruby incorrectly handled converting certain\n regular expressions to strings. An attacker could possibly use this issue\n to cause a denial of service or execute arbitrary code. (GHSA-7whj-\n cfh7-xgm4)\n\n Stephan Lipp discovered that Ruby incorrectly handled memory when parsing\n certain regular expressions. An attacker could possibly use this issue to\n cause a denial of service or execute arbitrary code. (GHSA-7x2q-68qv-6p8x)\n\n It was discovered that Ruby incorrectly handled converting the case of\n certain large strings. An attacker could possibly use this issue to cause\n a denial of service or execute arbitrary code. (GHSA-87fm-7w84-j2px)\n\n It was discovered that Ruby incorrectly handled certain case-insensitive\n regular expressions. An attacker could possibly use this issue to cause a\n denial of service or obtain sensitive information. (GHSA-pvgc-g7gj-pv6h)\n\n Stephan Lipp discovered that Ruby incorrectly handled certain case-\n insensitive regular expressions. An attacker could possibly use this issue\n to cause a denial of service or obtain sensitive information. (GHSA-\n wpqw-5qxg-m68r)","modified":"2026-11-24T14:52:53.606799897Z","published":"2026-11-20T15:22:29Z","references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9176-2"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175016"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175019"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175020"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175021"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175022"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175023"},{"type":"REPORT","url":"https://launchpad.net/bugs/2175024"}],"affected":[{"package":{"name":"ruby2.3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-2~ubuntu16.04.16+esm16"}]}],"versions":["2.3.0-1","2.3.0-2","2.3.0-4ubuntu2","2.3.0-4ubuntu3","2.3.0-5ubuntu1","2.3.1-2~16.04","2.3.1-2~16.04.2","2.3.1-2~16.04.4","2.3.1-2~16.04.5","2.3.1-2~16.04.6","2.3.1-2~16.04.7","2.3.1-2~16.04.9","2.3.1-2~16.04.10","2.3.1-2~16.04.11","2.3.1-2~16.04.12","2.3.1-2~ubuntu16.04.13","2.3.1-2~ubuntu16.04.14","2.3.1-2~ubuntu16.04.15","2.3.1-2~ubuntu16.04.16","2.3.1-2~ubuntu16.04.16+esm1","2.3.1-2~ubuntu16.04.16+esm2","2.3.1-2~ubuntu16.04.16+esm3","2.3.1-2~ubuntu16.04.16+esm4","2.3.1-2~ubuntu16.04.16+esm5","2.3.1-2~ubuntu16.04.16+esm6","2.3.1-2~ubuntu16.04.16+esm7","2.3.1-2~ubuntu16.04.16+esm8","2.3.1-2~ubuntu16.04.16+esm9","2.3.1-2~ubuntu16.04.16+esm10","2.3.1-2~ubuntu16.04.16+esm11","2.3.1-2~ubuntu16.04.16+esm12","2.3.1-2~ubuntu16.04.16+esm14","2.3.1-2~ubuntu16.04.16+esm15"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"libruby2.3","binary_version":"2.3.1-2~ubuntu16.04.16+esm16"},{"binary_name":"ruby2.3","binary_version":"2.3.1-2~ubuntu16.04.16+esm16"},{"binary_name":"ruby2.3-tcltk","binary_version":"2.3.1-2~ubuntu16.04.16+esm16"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9176-2.json"}},{"package":{"name":"ruby2.5","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-1ubuntu1.16+esm9"}]}],"versions":["2.5.0~preview1-1ubuntu2","2.5.0-4ubuntu1","2.5.0-4ubuntu4","2.5.0-5ubuntu1","2.5.0-6ubuntu1","2.5.1-1ubuntu1","2.5.1-1ubuntu1.1","2.5.1-1ubuntu1.2","2.5.1-1ubuntu1.4","2.5.1-1ubuntu1.5","2.5.1-1ubuntu1.6","2.5.1-1ubuntu1.7","2.5.1-1ubuntu1.8","2.5.1-1ubuntu1.9","2.5.1-1ubuntu1.10","2.5.1-1ubuntu1.11","2.5.1-1ubuntu1.12","2.5.1-1ubuntu1.13","2.5.1-1ubuntu1.14","2.5.1-1ubuntu1.15","2.5.1-1ubuntu1.16","2.5.1-1ubuntu1.16+esm1","2.5.1-1ubuntu1.16+esm3","2.5.1-1ubuntu1.16+esm4","2.5.1-1ubuntu1.16+esm5","2.5.1-1ubuntu1.16+esm6","2.5.1-1ubuntu1.16+esm7","2.5.1-1ubuntu1.16+esm8"],"ecosystem_specific":{"binaries":[{"binary_name":"libruby2.5","binary_version":"2.5.1-1ubuntu1.16+esm9"},{"binary_name":"ruby2.5","binary_version":"2.5.1-1ubuntu1.16+esm9"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9176-2.json"}},{"package":{"name":"ruby2.7","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby2.7?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-5ubuntu1.18+esm6"}]}],"versions":["2.7.0-1","2.7.0-2","2.7.0-3","2.7.0-4","2.7.0-4ubuntu1","2.7.0-5ubuntu1","2.7.0-5ubuntu1.1","2.7.0-5ubuntu1.2","2.7.0-5ubuntu1.3","2.7.0-5ubuntu1.4","2.7.0-5ubuntu1.5","2.7.0-5ubuntu1.6","2.7.0-5ubuntu1.7","2.7.0-5ubuntu1.8","2.7.0-5ubuntu1.9","2.7.0-5ubuntu1.10","2.7.0-5ubuntu1.11","2.7.0-5ubuntu1.12","2.7.0-5ubuntu1.13","2.7.0-5ubuntu1.14","2.7.0-5ubuntu1.15","2.7.0-5ubuntu1.16","2.7.0-5ubuntu1.17","2.7.0-5ubuntu1.18","2.7.0-5ubuntu1.18+esm1","2.7.0-5ubuntu1.18+esm3","2.7.0-5ubuntu1.18+esm4","2.7.0-5ubuntu1.18+esm5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.0-5ubuntu1.18+esm6","binary_name":"libruby2.7"},{"binary_name":"ruby2.7","binary_version":"2.7.0-5ubuntu1.18+esm6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9176-2.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}}],"schema_version":"1.9.2"}