CVE-2022-29181: high-severity vulnerability in sparklemotion nokogiri
Improper Handling of Unexpected Data Type in Nokogiri
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Nokogiri, a popular Ruby library for processing XML and HTML, fails to properly validate input types before parsing. This allows attackers to send specially crafted data that can crash the application or leak sensitive information from memory.
CVE-2022-29181 exploits insufficient type-checking in Nokogiri's SAX parsers (XML/HTML4) via untrusted input vectors, resulting in out-of-bounds memory access, segmentation faults, or information disclosure. Pre-condition requires processing user-supplied or network-sourced data through affected parser methods without prior type validation. Impact includes application denial of service and potential memory information leakage.
In the same product, most dangerous first.