{"id":"USN-6853-1","summary":"ruby2.7, ruby3.0, ruby3.1 vulnerability","details":"It was discovered that Ruby incorrectly handled the ungetbyte and ungetc\nmethods. A remote attacker could use this issue to cause Ruby to crash,\nresulting in a denial of service, or possibly obtain sensitive information.\n","modified":"2026-04-22T11:20:40.668660Z","published":"2024-06-26T12:27:29Z","related":["UBUNTU-CVE-2024-27280"],"upstream":["CVE-2024-27280","UBUNTU-CVE-2024-27280"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6853-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-27280"}],"affected":[{"package":{"name":"ruby2.7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby2.7@2.7.0-5ubuntu1.14?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-5ubuntu1.14"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0-5ubuntu1.14","binary_name":"libruby2.7"},{"binary_version":"2.7.0-5ubuntu1.14","binary_name":"ruby2.7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6853-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-27280"}]}}},{"package":{"name":"ruby3.0","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby3.0@3.0.2-7ubuntu2.7?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2-7ubuntu2.7"}]}],"versions":["3.0.2-5ubuntu1","3.0.2-7","3.0.2-7ubuntu2","3.0.2-7ubuntu2.1","3.0.2-7ubuntu2.2","3.0.2-7ubuntu2.3","3.0.2-7ubuntu2.4","3.0.2-7ubuntu2.5","3.0.2-7ubuntu2.6"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.2-7ubuntu2.7","binary_name":"libruby3.0"},{"binary_version":"3.0.2-7ubuntu2.7","binary_name":"ruby3.0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6853-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-27280"}]}}}],"schema_version":"1.7.5"}