CVE-2021-28965 — Vulnerability in rexml — CVE Details
REXML round-trip instability
Summary
Advisory Timeline
- First published April 30, 2021 (1991 days ago).
- Last revised January 27, 2025 — 1368 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rexml -v 3.2.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| rexml | rubygems | 3.1.7.3, 3.1.8, 3.1.9, 3.1.9.1 (+5 more) | 3.2.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-115
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28965ADVISORY
- https://github.com/ruby/rexml/commit/2fe62e29094d95921d7e19abbd2e26b23d78dc5bWEB
- https://github.com/ruby/rexml/commit/3c137eb119550874b2b3e27d12b733ca67033377WEB
- https://github.com/ruby/rexml/commit/6a250d2cd1194c2be72becbdd9c3e770aa16e752WEB
- https://github.com/ruby/rexml/commit/9b311e59ae05749e082eb6bbefa1cb620d1a786eWEB
- https://github.com/ruby/rexml/commit/a659c63e37414506dfb0d4655e031bb7a2e73fc8WEB
- https://github.com/ruby/rexml/commit/f7bab8937513b1403cea5aff874cbf32fd5e8551WEB
- https://github.com/ruby/rexml/commit/f9d88e4948b4a43294c25dc0edb16815bd9d8618WEB
- https://hackerone.com/reports/1104077WEB
- https://github.com/ruby/rexmlPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2021-28965.ymlWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMTWEB
- https://rubygems.org/gems/rexmlWEB
- https://security.netapp.com/advisory/ntap-20210528-0003WEB
- https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965WEB
Frequently Asked Questions
- What is CVE-2021-28965?
- REXML round-trip instability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2021-28965?
- CVE-2021-28965 affects rexml. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-28965 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2024-43398HIGH
REXML denial of service vulnerability
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- CVE-2024-49761MEDIUM
REXML ReDoS vulnerability
- CVE-2024-41946MEDIUM
REXML DoS vulnerability
- CVE-2024-41123MEDIUM
REXML DoS vulnerability
- CVE-2024-35176MEDIUM
REXML contains a denial of service vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies