cvedb.io
CVE-2022-29181
HIGH · CVSS 8.2
EPSS exploitation probability: 0%
Published 2022-05-20T19:15:08.203 · Last modified 2026-06-17T04:39:45.560

Summary

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a `String` by calling `#to_s` or equivalent.

Affected products

nokogiri — nokogiri

Does this affect you?

Add your gear to cvedb and we'll alert you only when nokogiri ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.