GitHub Advisoryadvisory · RubyGems

GHSA-8cr8-4vfw-mr7h REXML round-trip instability

HIGH Published 2021-04-30 Modified 2022-08-22 Official page ↗
Aliases
CVE-2021-28965
Ecosystem
RubyGems
Packages
rexml
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-115, CWE-611
Reviewed
2021-04-22

Affected packages

• RubyGems rexml: < 3.2.5 → fixed in 3.2.5

Description

The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

Related

Alias · CVE (1)

  • CVE-2021-28965 The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. vulnerability

Weakness · CWE (2)

  • CWE-115 Misinterpretation of Input weakness
  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References