{"id":"USN-4882-1","summary":"ruby2.3, ruby2.5, ruby2.7 vulnerabilities","details":"It was discovered that the Ruby JSON gem incorrectly handled certain JSON\nfiles. If a user or automated system were tricked into parsing a specially\ncrafted JSON file, a remote attacker could use this issue to execute\narbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04\nLTS. (CVE-2020-10663)\n\nIt was discovered that Ruby incorrectly handled certain socket memory\noperations. A remote attacker could possibly use this issue to obtain\nsensitive information. This issue only affected Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2020-10933)\n\nIt was discovered that Ruby incorrectly handled certain transfer-encoding\nheaders when using Webrick. A remote attacker could possibly use this issue\nto bypass a reverse proxy. (CVE-2020-25613)\n","modified":"2026-02-10T04:42:06Z","published":"2021-03-18T17:00:33Z","related":["UBUNTU-CVE-2020-10663","UBUNTU-CVE-2020-10933","UBUNTU-CVE-2020-25613"],"upstream":["CVE-2020-10663","CVE-2020-10933","CVE-2020-25613","UBUNTU-CVE-2020-10663","UBUNTU-CVE-2020-10933","UBUNTU-CVE-2020-25613"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4882-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-10663"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-10933"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25613"}],"affected":[{"package":{"name":"ruby2.3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby2.3@2.3.1-2~ubuntu16.04.15?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-2~ubuntu16.04.15"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.1-2~ubuntu16.04.15","binary_name":"libruby2.3"},{"binary_version":"2.3.1-2~ubuntu16.04.15","binary_name":"ruby2.3"},{"binary_version":"2.3.1-2~ubuntu16.04.15","binary_name":"ruby2.3-dev"},{"binary_version":"2.3.1-2~ubuntu16.04.15","binary_name":"ruby2.3-tcltk"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json","cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"id":"CVE-2020-10663","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25613","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"ruby2.5","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby2.5@2.5.1-1ubuntu1.8?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-1ubuntu1.8"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1-1ubuntu1.8","binary_name":"libruby2.5"},{"binary_version":"2.5.1-1ubuntu1.8","binary_name":"ruby2.5"},{"binary_version":"2.5.1-1ubuntu1.8","binary_name":"ruby2.5-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2020-10663","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-10933","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2020-25613","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"ruby2.7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby2.7@2.7.0-5ubuntu1.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-5ubuntu1.3"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0-5ubuntu1.3","binary_name":"libruby2.7"},{"binary_version":"2.7.0-5ubuntu1.3","binary_name":"ruby2.7"},{"binary_version":"2.7.0-5ubuntu1.3","binary_name":"ruby2.7-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2020-10933","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2020-25613","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}