8.2

CVE-2022-29181: Improper Handling of Unexpected Data Type in Nokogiri

Modified
AliasesMGASA-2022-0200UBUNTU-CVE-2022-29181DEBIAN-CVE-2022-29181
Published 20-05-2022Last modified 27-05-2025

Vulnerability summary

CVE-2022-29181 is a high (CVSS 8.2) vulnerability in apple macos. EPSS estimates a 3.23% chance of exploitation in the next 30 days, higher than 88.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (CVE.org)
EPSS score
3.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 20-05-2022
    PublishedVulnerability first disclosed.
  2. 27-05-2025
    Last modifiedVulnerability information updated.

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

7 scores · 6 sources · 2 versions

EPSS trend

Probability

3.23%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Ghsl 2022 031 Ghsl 2022 032 Nokogiri

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • ruby-nokogiri< 1.13.6-r0
Apple1 product
Debian1 product
  • ruby-nokogiri< 1.13.7+dfsg-1
Mageia1 product
  • ruby-nokogiri< 1.11.7-1.1.mga8
Nokogiri1 product
RubyGems1 product
  • nokogiri< 1.13.6
Sparklemotion1 product
Ubuntu1 product
  • ruby-nokogiri< 1.10.7+dfsg1-2ubuntu0.1~esm2 | < 1.13.1+dfsg-2ubuntu0.1~esm1

8 vendors · 8 products

References

20 links
Show all 20 references