Ruby/nokogiri/1.18.6
Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is fast and standards-compliant by relying on native parsers like libxml2, libgumbo, or xerces.
https://rubygems.org/gems/nokogiri
MIT
1 Security Vulnerabilities
Nokogiri updates packaged libxml2 to v2.13.8 to resolve CVE-2025-32414 and CVE-2025-32415
Summary
Nokogiri v1.18.8 upgrades its dependency libxml2 to v2.13.8.
libxml2 v2.13.8 addresses:
- CVE-2025-32414
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/889
- CVE-2025-32415
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/890
Impact
CVE-2025-32414: No impact
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.
There is no impact from this CVE for Nokogiri users.
CVE-2025-32415: Low impact
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
In the upstream issue, further context is provided by the maintainer:
The bug affects validation against untrusted XML Schemas (.xsd) and validation of untrusted documents against trusted Schemas if they make use of xsd:keyref in combination with recursively defined types that have additional identity constraints.
MITRE has published a severity score of 2.9 LOW (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) for this CVE.
188 Other Versions
Version | License | Security | Released | |
---|---|---|---|---|
1.5.2 | UNKNOWN | 72 | 2012-03-09 - 21:00 | over 13 years |
1.5.1 | UNKNOWN | 72 | 2012-03-09 - 05:59 | over 13 years |
1.5.1.rc1 | UNKNOWN | 72 | 2012-03-04 - 02:01 | over 13 years |
1.5.0 | UNKNOWN | 72 | 2011-07-01 - 07:26 | about 14 years |
1.5.0.beta.3 | UNKNOWN | 70 | 2010-12-02 - 20:10 | over 14 years |
1.5.0.beta.4 | UNKNOWN | 70 | 2011-01-27 - 22:59 | over 14 years |
1.5.0.beta.2 | UNKNOWN | 70 | 2010-07-30 - 15:53 | almost 15 years |
1.5.0.beta.1 | UNKNOWN | 70 | 2010-06-08 - 13:32 | about 15 years |
1.4.7 | UNKNOWN | 72 | 2011-07-01 - 05:22 | about 14 years |
1.4.6 | UNKNOWN | 72 | 2011-06-20 - 02:53 | about 14 years |
1.4.5 | UNKNOWN | 72 | 2011-06-16 - 11:21 | about 14 years |
1.4.4.2 | UNKNOWN | 72 | 2010-12-01 - 19:35 | over 14 years |
1.4.4.1 | UNKNOWN | 72 | 2010-11-17 - 13:50 | over 14 years |
1.4.4 | UNKNOWN | 72 | 2010-11-16 - 06:28 | over 14 years |
1.4.3.1 | UNKNOWN | 72 | 2010-07-29 - 15:47 | almost 15 years |
1.4.3 | UNKNOWN | 72 | 2010-07-29 - 14:59 | almost 15 years |
1.4.2.1 | UNKNOWN | 72 | 2010-06-02 - 21:16 | about 15 years |
1.4.2 | UNKNOWN | 72 | 2010-05-22 - 15:35 | about 15 years |
1.4.1 | UNKNOWN | 72 | 2009-12-11 - 05:14 | over 15 years |
1.4.0 | UNKNOWN | 72 | 2009-10-31 - 07:00 | over 15 years |
1.3.3 | UNKNOWN | 72 | 2009-09-25 - 09:04 | almost 16 years |
1.3.2 | UNKNOWN | 72 | 2009-09-25 - 09:04 | almost 16 years |
1.3.1 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.3.0 | UNKNOWN | 72 | 2009-09-25 - 09:04 | almost 16 years |
1.2.3 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.2.2 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.2.1 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.2.0 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.1.1 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.1.0 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.7 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.6 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.5 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.4 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.3 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.2 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.1 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |
1.0.0 | UNKNOWN | 72 | 2009-07-25 - 18:05 | almost 16 years |