Vulnerability DatabaseGHSA-xxx9-3xcr-gjj3

GHSA-xxx9-3xcr-gjj3
Ruby vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-xxx9-3xcr-gjj3) affects the Apache Xerces Java (XercesJ) XML parser implementation in Nokogiri versions below 1.13.4. This security issue was discovered and disclosed in April 2022, specifically impacting the JRuby implementation of Nokogiri that uses xerces:xercesImpl versions prior to 2.12.2. The vulnerability has been assigned a CVSS score of 6.5 (Medium severity) (GitHub Advisory, NVD).

Technical details

The vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition - 'Infinite Loop'). When handling specially crafted XML document payloads, the XercesJ XML parser enters an infinite loop condition. The vulnerability has a CVSS v3.1 base score of 6.5 with the following metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: Required, Scope: Unchanged, Confidentiality: None, Integrity: None, Availability: High (NVD).

Impact

The primary impact of this vulnerability is on system availability. When exploited, the vulnerability causes the XercesJ XML parser to enter an infinite loop, which can consume system resources for prolonged periods, potentially leading to a denial of service condition (GitHub Advisory).

Mitigation and workarounds

The recommended mitigation is to upgrade to Nokogiri version 1.13.4 or later, which includes the patched xerces:xercesImpl version 2.12.2. This update specifically addresses the infinite loop vulnerability in the XML parser (Nokogiri Release).

Community reactions

The vulnerability was acknowledged and addressed by multiple organizations, including Oracle and NetApp, who released their own security advisories and patches (Oracle Advisory, NetApp Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management