{"id":"USN-9363-1","summary":"ruby-nokogiri vulnerabilities","details":"It was discovered that Nokogiri used an inefficient regular expression when\ndetecting the encoding of HTML documents. An attacker could possibly use\nthis issue to cause Nokogiri to consume excessive resources, leading to a\ndenial of service. (CVE-2022-24836)\n\nIt was discovered that Nokogiri incorrectly checked the bounds of indexes\ninto node sets, leading to an out-of-bounds read. An attacker could\npossibly use this issue to cause Nokogiri to crash, resulting in a denial\nof service. (CVE-2026-57235)\n\nIt was discovered that Nokogiri incorrectly handled setting an invalid\ndocument encoding, leading to a use-after-free. An attacker could possibly\nuse this issue to cause Nokogiri to crash, resulting in a denial of\nservice, or obtain sensitive information. (CVE-2026-57236)\n\nIt was discovered that Nokogiri incorrectly handled replacing the value of\nan XML attribute, leading to a use-after-free. An attacker could possibly\nuse this issue to cause Nokogiri to crash, resulting in a denial of\nservice. (CVE-2026-57435)\n\nIt was discovered that Nokogiri used inefficient regular expressions when\ntokenizing CSS selectors. An attacker could possibly use this issue to\ncause Nokogiri to consume excessive resources, leading to a denial of\nservice. (CVE-2026-79770)","modified":"2026-12-02T15:28:54.612789520Z","published":"2026-12-01T21:12:19Z","related":["UBUNTU-CVE-2022-24836","UBUNTU-CVE-2026-57235","UBUNTU-CVE-2026-57236","UBUNTU-CVE-2026-57435","UBUNTU-CVE-2026-79770"],"upstream":["CVE-2022-24836","CVE-2026-57235","CVE-2026-57236","CVE-2026-57435","CVE-2026-79770","UBUNTU-CVE-2022-24836","UBUNTU-CVE-2026-57235","UBUNTU-CVE-2026-57236","UBUNTU-CVE-2026-57435","UBUNTU-CVE-2026-79770"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9363-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24836"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-57235"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-57236"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-57435"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-79770"}],"affected":[{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1+ds-1ubuntu0.1~esm2"}]}],"versions":["1.5.9-2","1.5.9-3","1.6.0-1","1.6.1+ds-1","1.6.1+ds-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.6.1+ds-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2022-24836"},{"id":"CVE-2026-57235","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CNA"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-57236","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-57435","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-79770"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9363-1.json"}},{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7.2-3ubuntu0.1+esm1"}]}],"versions":["1.6.6.2+ds-2build2","1.6.6.3-1","1.6.7-1","1.6.7.1-1","1.6.7.2-3","1.6.7.2-3build1","1.6.7.2-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.6.7.2-3ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9363-1.json","cves_map":{"cves":[{"id":"CVE-2022-24836","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-57235"},{"id":"CVE-2026-57236","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-57435"},{"id":"CVE-2026-79770","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2-1ubuntu0.1+esm1"}]}],"versions":["1.8.0-1","1.8.1-1","1.8.1-1build1","1.8.2-1build1","1.8.2-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.8.2-1ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9363-1.json","cves_map":{"cves":[{"id":"CVE-2022-24836","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-57235"},{"severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-57236"},{"id":"CVE-2026-57435","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2026-79770"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.7+dfsg1-2ubuntu0.1~esm3"}]}],"versions":["1.10.3+dfsg1-2","1.10.4+dfsg1-1","1.10.7+dfsg1-1","1.10.7+dfsg1-2","1.10.7+dfsg1-2build1","1.10.7+dfsg1-2ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.10.7+dfsg1-2ubuntu0.1~esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-24836","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-57235"},{"id":"CVE-2026-57236","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-57435","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-79770","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9363-1.json"}},{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1+dfsg-2ubuntu0.1~esm2"}]}],"versions":["1.11.1+dfsg-2ubuntu1","1.11.7+dfsg-3","1.11.7+dfsg-3build1","1.13.1+dfsg-2","1.13.1+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.13.1+dfsg-2ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2022-24836"},{"severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-57235"},{"severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","source":"CNA","type":"CVSS_V4"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-57236"},{"id":"CVE-2026-57435","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2026-79770","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9363-1.json"}}],"schema_version":"1.9.2"}