{"id":"USN-7659-1","summary":"ruby-nokogiri vulnerabilities","details":"It was discovered Nokogiri did not correctly parse XML Schemas.\nIf a user or automated system were tricked into opening a specially\ncrafted file, an attacker could possibly use this issue to execute\narbitrary code. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2020-26247)\n\nAgustin Gianni discovered that Nokogiri did not correctly parse\nXML and HTML files. If a user or automated system were tricked into\nopening a specially crafted file, an attacker could possibly use this\nissue to cause a denial of service or leak sensitive information.\n(CVE-2022-29181)","modified":"2026-02-10T04:49:41Z","published":"2025-07-21T23:29:20Z","related":["UBUNTU-CVE-2020-26247","UBUNTU-CVE-2022-29181"],"upstream":["CVE-2020-26247","CVE-2022-29181","CVE-2022-40303","UBUNTU-CVE-2020-26247","UBUNTU-CVE-2022-29181","UBUNTU-CVE-2022-40303"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7659-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-26247"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-29181"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40303"}],"affected":[{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri@1.10.7+dfsg1-2ubuntu0.1~esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.7+dfsg1-2ubuntu0.1~esm2"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.10.7+dfsg1-2ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7659-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2020-26247","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-29181","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"ruby-nokogiri","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-nokogiri@1.13.1+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1+dfsg-2ubuntu0.1~esm1"}]}],"versions":["1.11.1+dfsg-2ubuntu1","1.11.7+dfsg-3","1.11.7+dfsg-3build1","1.13.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-nokogiri","binary_version":"1.13.1+dfsg-2ubuntu0.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-7659-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"id":"CVE-2022-29181","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}