GitHub Advisoryadvisory · Maven

GHSA-hgg7-cghq-xhf4 Ruby vulnerable to denial of service

MEDIUM Published 2022-05-17 Modified 2023-08-16 Official page ↗
Aliases
CVE-2013-1821
Ecosystem
Maven
Packages
org.jruby:jruby
Severity
Moderate
Weaknesses
CWE-400
Reviewed
2022-11-08

Affected packages

• Maven org.jruby:jruby: < 1.7.3 → fixed in 1.7.3

Description

When reading text nodes from an XML document, the REXML parser can be coerced in to allocating extremely large string objects which can consume all of the memory on a machine, causing a denial of service. Jruby resolves this bug in version 1.7.3 as noted in https://www.jruby.org/2013/02/21/jruby-1-7-3.html

Related

Alias · CVE (1)

  • CVE-2013-1821 lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers to cause a denial of service (memory consumption… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References