{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-29181","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","dateUpdated":"2025-05-27T14:51:01.821Z","dateReserved":"2022-04-13T00:00:00.000Z","datePublished":"2022-05-20T00:00:00.000Z"},"containers":{"cna":{"title":"Improper Handling of Unexpected Data Type in Nokogiri","problemTypes":[{"descriptions":[{"cweId":"CWE-241","lang":"en","description":"CWE-241: Improper Handling of Unexpected Data Type","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m"},{"name":"https://github.com/sparklemotion/nokogiri/commit/83cc451c3f29df397caa890afc3b714eae6ab8f7","tags":["x_refsource_MISC"],"url":"https://github.com/sparklemotion/nokogiri/commit/83cc451c3f29df397caa890afc3b714eae6ab8f7"},{"name":"https://github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c7297267","tags":["x_refsource_MISC"],"url":"https://github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c7297267"},{"name":"https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6","tags":["x_refsource_MISC"],"url":"https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6"},{"name":"https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri","tags":["x_refsource_MISC"],"url":"https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri"}],"affected":[{"vendor":"sparklemotion","product":"nokogiri","versions":[{"version":"< 1.13.6","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-05-27T14:51:01.821Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-xh29-r2w5-wx8m","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T06:17:54.244Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xh29-r2w5-wx8m","tags":["x_transferred"]},{"url":"https://github.com/sparklemotion/nokogiri/commit/db05ba9a1bd4b90aa6c76742cf6102a7c7297267","tags":["x_transferred"]},{"url":"https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6","tags":["x_transferred"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-031_GHSL-2022-032_Nokogiri/","tags":["x_transferred"]},{"name":"GLSA-202208-29","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202208-29"},{"url":"https://support.apple.com/kb/HT213532","tags":["x_transferred"]},{"name":"20221220 APPLE-SA-2022-12-13-4 macOS Ventura 13.1","tags":["mailing-list","x_transferred"],"url":"http://seclists.org/fulldisclosure/2022/Dec/23"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:41:19.551410Z","id":"CVE-2022-29181","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-22T18:01:15.465Z"}}]}}