CVE-2021-28965

ruby: XML round-trip vulnerability in REXML

Published Apr 21, 2021 CVSS 3.1 · 7.5 High EPSS 5.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5066-1 ruby2.5 security update
EUVD EUVD EUVD-2021-0797 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.
Github GHSA Github GHSA GHSA-8cr8-4vfw-mr7h REXML round-trip instability
Ubuntu USN Ubuntu USN USN-4922-1 Ruby vulnerability
Ubuntu USN Ubuntu USN USN-4922-2 Ruby vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 22, 2021, 12:00 AM
Status
Modified
Published
Apr 21, 2021, 7:15 AM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Apr 5, 2021, 12:00 AM