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.
Loading...
Loading...
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.6%, top 31% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
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.
April 21, 2021
November 21, 2024
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby2.7-doc (2.7.2-4ubuntu1.1) @ hirsute | 2026-05-26 | ubuntu |
| ubuntu | ruby2.3-tcltk (2.3.1-2~ubuntu16.04.16) @ xenial | 2026-05-26 | ubuntu |
| redhat | ruby4-0-main-4.0.0-33.3.hum1 | 2026-04-17 | redhat |
| redhat | ruby3-4-main-3.4.8-31.1.hum1 | 2026-04-09 | redhat |
| redhat | ruby3-3-main-3.3.10-23.1.hum1 | 2026-04-09 | redhat |
| redhat | ruby:2.6-8010020220201152941.c27ad7f8 | 2022-02-21 | redhat |
| redhat | ruby:2.6-8020020220201131207.4cda2c84 | 2022-02-21 | redhat |
| redhat | ruby:2.6-8040020210430142949.522a0ee4 | 2021-06-29 | redhat |
| redhat | ruby:2.7-8040020210421133318.522a0ee4 | 2021-06-29 | redhat |
| redhat | ruby:2.5-8040020200923213910.522a0ee4 | 2021-06-29 | redhat |
| redhat | rh-ruby27-ruby-0:2.7.3-129.el7 | 2021-06-03 | redhat |
| redhat | rh-ruby26-ruby-0:2.6.7-119.el7 | 2021-06-03 | redhat |
| redhat | rh-ruby25-ruby-0:2.5.9-9.el7 | 2021-05-26 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rexml | 3.1.7.3 ... 3.2.4 (9 versions) | 3.2.5 | — |
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
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.
RHSA-2021:2104 — Moderate
RHSA-2021:2229 — Moderate
RHSA-2021:2230 — Moderate
RHSA-2021:2584 — Moderate
RHSA-2021:2587 — Moderate
RHSA-2021:2588 — Moderate
RHSA-2022:0581 — Moderate
RHSA-2022:0582 — Moderate
RHSA-2026:7305 — Moderate
RHSA-2026:7307 — Moderate
RHSA-2026:8838 — Moderate
Ruby vulnerability
Ruby vulnerability
Every time one of our enrichment pipelines (NVD, MITRE cvelistV5, EPSS, CISA KEV, GHSA, OSV, vendor advisories) ran against this CVE. Most recent first.
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-28965
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.
msrc · redhat · ubuntu