#VU70042 NULL pointer dereference in Nokogiri - CVE-2022-23476
Published: December 8, 2022
Nokogiri
nokogiri.org
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the Nokogiri::XML::Reader#attribute_hash method when parsing input returned from "xmlTextReaderExpand". A remote attacker can pass specially crafted XML input to the application and perform a denial of service (DoS) attack.
Remediation
External links
- https://github.com/sparklemotion/nokogiri/commit/9fe0761c47c0d4270d1a5220cfd25de080350d50
- https://github.com/sparklemotion/nokogiri/commit/85410e38410f670cbbc8c5b00d07b843caee88ce
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-qv4q-mr5r-qprj
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.10