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.
Published: 2022-05-20
Score: 8.2 High
EPSS: 4.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-5789 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.
Github GHSA Github GHSA GHSA-xh29-r2w5-wx8m Nokogiri Improperly Handles Unexpected Data Type
Ubuntu USN Ubuntu USN USN-7659-1 Nokogiri vulnerabilities
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.03268}

epss

{'score': 0.03355}


Tue, 27 May 2025 15:00:00 +0000


Tue, 22 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Apple Macos
Nokogiri Nokogiri
Redhat Satellite Satellite Capsule
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-05-27T14:51:01.821Z

Reserved: 2022-04-13T00:00:00.000Z

Link: CVE-2022-29181

cve-icon Vulnrichment

Updated: 2024-08-03T06:17:54.244Z

cve-icon NVD

Status : Modified

Published: 2022-05-20T19:15:08.203

Modified: 2025-05-27T15:15:24.723

Link: CVE-2022-29181

cve-icon Redhat

Severity : Important

Publid Date: 2022-05-19T00:00:00Z

Links: CVE-2022-29181 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses