Read the docs
TI-2022-26517 Aliases GHSA-gx8x-g87m-h5q6

Denial of Service (DoS) in Nokogiri on JRuby

Priority LOW 38CWE-400Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Denial of service
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.

Summary

## Summary Nokogiri `v1.13.4` updates the vendored `org.cyberneko.html` library to `1.9.22.noko2` which addresses [CVE-2022-24839](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv). That CVE is rated 7.5 (High Severity). See [GHSA-9849-p7jc-9rmv](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv) for more information. Please note that this advisory only applies to the **JRuby** implementation of Nokogiri `< 1.13.4`. ## Mitigation Upgrade to Nokogiri `>= 1.13.4`. ## Impact ### [CVE-2022-24839](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv) in nekohtml - **Severity**: High 7.5 - **Type**: [CWE-400](https://cwe.mitre.org/data/definitions/400.html) Uncontrolled Resource Consumption - **Description**: The fork of `org.cyberneko.html` used by Nokogiri (Rubygem) raises a `java.lang.OutOfMemoryError` exception when parsing ill-formed HTML markup. - **See also**: [GHSA-9849-p7jc-9rmv](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv)

Why it matters now

Fix Fixed nokogiri (RubyGems): 1.13.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—nokogiri (RubyGems)before 1.13.41.13.4Patch availableGHSA-gx8x-g87m-h5q6
  • nokogiri (RubyGems) Vendor— Affected before 1.13.4 Fixed in 1.13.4 Patch available GHSA-gx8x-g87m-h5q6

Remediation

  • Fix · GHSA-gx8x-g87m-h5q6 nokogiri (RubyGems) Fixed in 1.13.4 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-gx8x-g87m-h5q6

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences