CVE-2021-28965
7.5high
REXML round-trip instability
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 4.45% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-8cr8-4vfw-mr7hBIT-RUBY-2021-28965BIT-RUBY-MIN-2021-28965
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rexml (RubyGems) | before 3.2.5 | GitHub Advisory Database |
| ruby-lang rexml | before 3.2.5 | NVD |
| ruby-lang ruby | before 2.6.7, from 2.7.0 before 2.7.3, from 3.0.0 before 3.0.1 | NVD |
| fedoraproject fedora | 34 | NVD |
| ruby (Bitnami) | before 2.6.7, from 2.7.0 before 2.7.3, from 3.0.0 before 3.0.1 | Bitnami Vulnerability Database |
| ruby-min (Bitnami) | before 2.6.7, from 2.7.0 before 2.7.3, from 3.0.0 before 3.0.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
El REXML gem versiones anteriores a 3.2.5 en Ruby versiones anteriores a 2.6.7, versiones 2.7.x anteriores a 2.7.3 y versiones 3.x anteriores a 3.0.1, no aborda apropiadamente los problemas round-trip de XML. Puede ser producido un documento incorrecto después de analizarlo y serializarlo
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28965 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8cr8-4vfw-mr7h changed 2025-01-27 | CC-BY-4.0 |
| NVD | CVE-2021-28965 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RUBY-2021-28965 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-RUBY-MIN-2021-28965 changed 2026-09-08 | Apache-2.0 |