{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-29181","published":"2022-05-20T19:15:08.203000Z","last_modified":"2026-06-17T04:39:45.560000Z","status":"Modified","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-241","CWE-843"],"cpes":[{"criteria":"cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*","part":"a","vendor":"nokogiri","product":"nokogiri","version_end_excluding":"1.13.6"},{"criteria":"cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*","part":"o","vendor":"apple","product":"macos","version_start_including":"13.0","version_end_excluding":"13.1"}],"cpes_truncated":false,"vendors":["nokogiri","apple"],"products":["nokogiri/nokogiri","apple/macos"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.02637,"percentile":0.86317,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xh29-r2w5-wx8m","ecosystem":"RubyGems","name":"nokogiri","purl":"pkg:gem/nokogiri","ranges":[{"introduced":"0","fixed":"1.13.6"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.1","1.10.0","1.10.0.rc1","1.10.1","1.10.10","1.10.2","1.10.3","1.10.4","1.10.5","1.10.6","1.10.7","1.10.8","1.10.9","1.11.0","1.11.0.rc1","1.11.0.rc2","1.11.0.rc3","1.11.0.rc4","1.11.1","1.11.2","1.11.3","1.11.4","1.11.5","1.11.6","1.11.7","1.12.0","1.12.0.rc1","1.12.1","1.12.2","1.12.3","1.12.4","1.12.5","1.13.0","1.13.1","1.13.2","1.13.3","1.13.4","1.13.5","1.2.0","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.3.2","1.3.3","1.4.0","1.4.1","1.4.2","1.4.2.1","1.4.3","1.4.3.1","1.4.4","1.4.4.1","1.4.4.2","1.4.5","1.4.6","1.4.7","1.5.0","1.5.0.beta.1","1.5.0.beta.2","1.5.0.beta.3","1.5.0.beta.4","1.5.1","1.5.1.rc1","1.5.10","1.5.11","1.5.2","1.5.3","1.5.3.rc2","1.5.3.rc3","1.5.3.rc4","1.5.3.rc5","1.5.3.rc6","1.5.4","1.5.4.rc1","1.5.4.rc2","1.5.4.rc3","1.5.5","1.5.5.rc1","1.5.5.rc2","1.5.5.rc3","1.5.6","1.5.6.rc1","1.5.6.rc2","1.5.6.rc3","1.5.7","1.5.7.rc1","1.5.7.rc2","1.5.7.rc3","1.5.8","1.5.9","1.6.0","1.6.0.rc1","1.6.1","1.6.2","1.6.2.1","1.6.2.rc1","1.6.2.rc2","1.6.2.rc3","1.6.3","1.6.3.1","1.6.3.rc1","1.6.3.rc2","1.6.3.rc3","1.6.4","1.6.4.1","1.6.5","1.6.6.1","1.6.6.2","1.6.6.3","1.6.6.4","1.6.7","1.6.7.1","1.6.7.2","1.6.7.rc2","1.6.7.rc3","1.6.7.rc4","1.6.8","1.6.8.1","1.6.8.rc1","1.6.8.rc2","1.6.8.rc3","1.7.0","1.7.0.1","1.7.1","1.7.2","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.9.0","1.9.0.rc1","1.9.1"],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2022-29181/","html_en":"/en/cve/CVE-2022-29181/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-29181","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-29181"},"untrusted":{"vendor_name":"Nokogiri","product_name":"Nokogiri","desc_en":"Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a `String` by calling `#to_s` or equivalent.","affected":[{"untrusted_vendor":"sparklemotion","untrusted_product":"nokogiri","versions":[]}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/commit/83cc451c3f29df397caa890afc3b714eae6ab8f7","tags":[]},{"url":"https://github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c7297267","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/23","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-29","tags":["Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri/","tags":["Exploit","Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213532","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10356-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media"}}]}