Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade nokogiri
to version 1.18.3 or higher.
nokogiri is a gem for parsing HTML, XML, SAX, and Reader.
Affected versions of this package are vulnerable to Use After Free in the xmlSchemaItemListAdd()
function in xmlschemas.c
, which is exploitable by supplying a malicious .xsd
schema for validation. it may also be exploitable when an xsd:keyref
is provided in combination with recursively defined types that have additional identity constraints, for validation against a non malicious schema.