HomeNokogiriCVE-2022-29181

CVE-2022-29181

HIGH
8.2CVSS
Published: 2022-05-20
Updated: 2025-05-27
AI Analysis

Description

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack Vector
network
Complexity
low
Privileges
none
User Action
none
Scope
unchanged
Confidentiality
low
Integrity
none
Availability
high
Weaknesses
CWE-241CWE-843

Metadata

Primary Vendor
NOKOGIRI
Published
5/20/2022
Last Modified
5/27/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

nokogiri : nokogiriapple : macos

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2022-29181 | HIGH Severity | CVEDatabase.com | CVEDatabase.com