PT-2021-5813
CVE-2021-28965
·
Published
2021-04-12
·
Updated
2026-11-11
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
REXML gem versions prior to 3.2.5 in Ruby versions prior to 2.6.7
REXML gem versions prior to 3.2.5 in Ruby versions 2.7.x prior to 2.7.3
REXML gem versions prior to 3.2.5 in Ruby versions 3.x prior to 3.0.1
Description
The issue is related to the incorrect handling of XML round-trip issues in the REXML gem, which can lead to the production of an incorrect document after parsing and serializing. This can potentially allow a remote attacker to impact data integrity.
Recommendations
For Ruby versions prior to 2.6.7, update the REXML gem to version 3.2.5 or later.
For Ruby versions 2.7.x prior to 2.7.3, update the REXML gem to version 3.2.5 or later.
For Ruby versions 3.x prior to 3.0.1, update the REXML gem to version 3.2.5 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾