{"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-11-24T14:50:44.620481202Z","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?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_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-tcltk","binary_version":"2.3.1-2~ubuntu16.04.15"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"id":"CVE-2020-10663","severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low","source":"SELF"}],"id":"CVE-2020-25613"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json"}},{"package":{"name":"ruby2.5","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby2.5?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_name":"libruby2.5","binary_version":"2.5.1-1ubuntu1.8"},{"binary_name":"ruby2.5","binary_version":"2.5.1-1ubuntu1.8"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2020-10663"},{"id":"CVE-2020-10933","severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"low","source":"SELF"}]},{"id":"CVE-2020-25613","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"NVD"},{"type":"Ubuntu","score":"low","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json"}},{"package":{"name":"ruby2.7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby2.7?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_name":"libruby2.7","binary_version":"2.7.0-5ubuntu1.3"},{"binary_name":"ruby2.7","binary_version":"2.7.0-5ubuntu1.3"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"low"}],"id":"CVE-2020-10933"},{"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","source":"NVD","type":"CVSS_V3"},{"score":"low","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4882-1.json"}}],"schema_version":"1.9.2"}