Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-29181

8.2 · HIGH
Published May 20, 2022 nokogiri CWE-241 EPSS 3.23% (87th pctl)

Overview

CVE-2022-29181 is a high-severity vulnerability affecting nokogiri nokogiri. It was published on May 20, 2022 and has a CVSS 3.1 base score of 8.2 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from nokogiri. Update nokogiri to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
nokogiri nokogiri >= 0, < 1.13.6 Affected
apple macos >= 13.0, < 13.1 Affected

Frequently Asked Questions

What is CVE-2022-29181?

CVE-2022-29181 is a high-severity vulnerability affecting nokogiri nokogiri. It was published on May 20, 2022 and has a CVSS 3.1 base score of 8.2 (HIGH).

How severe is CVE-2022-29181?

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-29181?

Check the references section for vendor advisories and patches from nokogiri. Update nokogiri to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-29181?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-29181 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.