Denial of Service via NULL pointer dereference
Summary
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4. An attacker who can control the construction of Nokogiri node objects could exploit this to cause a Denial of Service. Red Hat severity: Low — CVSS 2.9 (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L). Weakness: CWE-476. Affected Red Hat products: Red Hat 3scale API Management Platform 2; Red Hat Satellite 6. Red Hat does not currently list a fixing RHSA for this CVE.
- < 1.19.4
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Mitigation checklist
- There is no mitigation for this flaw other than updating to Nokogiri version 1.19.4 or later. As a workaround, ensure that untrusted input cannot trigger the construction of uninitialized native wrapper classes inheriting from Nokogiri::XML::Node.
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.