PT-2026-52475 · Rubygems · Nokogiri
CVSS v3.1
6.6
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
Nokogiri versions prior to 1.19.4
Description
An issue exists in the XInclude substitution process where the
do xinclude() function in Nokogiri::XML::Node replaces each <xi:include> element in place. This process frees the include node, its children (such as <xi:fallback> and its descendants), and any associated namespaces. If an application has already exposed these nodes or namespaces to Ruby, the resulting Ruby object points to freed memory, which can lead to invalid memory reads or writes.Recommendations
Update to version 1.19.4.
Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nokogiri