PT-2021-5813

CVE-2021-28965

·

Published

2021-04-12

·

Updated

2026-11-11

Description by

CVSS 3.1
7.5
High
MetricsAV: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
Researchers
Vendors
Affected products
Related identifiers
GHSA-8CR8-4VFW-MR7H
ALSA-2021:2584
ALSA-2021_2584
ALSA-2021:2587
ALSA-2021:2588
ALSA-2025_16880
ALT-PU-2021-1710
ALT-PU-2021-2720
ALT-PU-2022-2533
ALT-PU-2022-2699
AZL-6860
BIT-RUBY-2021-28965
BIT-RUBY-MIN-2021-28965
CESA-2021_2584
CESA-2021_2587
CESA-2021_2588
CLEANSTART-2026-BM82320
CLEANSTART-2026-KG73861
CLSA-2026-1792167430
CLSA-2026-1792174968
CLSA-2026-1793084071
CLSA-2026-1794234408
DSA-5066-1
JLSEC-2026-1282
MGASA-2021-0579
OESA-2021-1259
OPENSUSE-SU-2021:0607-1
OPENSUSE-SU-2021_0607-1
OPENSUSE-SU-2024:11310-1
OPENSUSE-SU-2024:11311-1
OPENSUSE-SU-2024:11786-1
OPENSUSE-SU-2024:12712-1
OPENSUSE-SU-2024:13623-1
OPENSUSE-SU-2025:14621-1
OPENSUSE-SU-2025:15819-1
RHSA-2021:2104
RHSA-2021:2229
RHSA-2021:2230
RHSA-2021:2584
RHSA-2021_2584
RHSA-2021:2587
RHSA-2021_2587
RHSA-2021:2588
RHSA-2021_2588
RHSA-2022:0581
RHSA-2022:0582
RHSA-2026:7305
RHSA-2026:7307
RHSA-2026:8838
RLSA-2021:2584
RLSA-2021:2587
RLSA-2021:2588
SUSE-SU-2021:1280-1
SUSE-SU-2021_1280-1
USN-4922-1
USN-4922-2
Found an issue in the description? Have something to add? Feel free to write us 👾