
CVE catalog
CVE-2021-28965
ALPINE-CVE-2021-28965
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 5.06% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby2.7 | 11 | 2.7.3-1 | fixed |
| Alpine | ruby | 3.10 | 2.5.9-r0 | fixed |
| Alpine | ruby | 3.11 | 2.6.7-r0 | fixed |
| Alpine | ruby | 3.12 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.13 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.14 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.15 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.16 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.17 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.18 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.19 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.20 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.21 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.22 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.23 | 2.7.3-r0 | fixed |
| Alpine | ruby | 3.24 | 2.7.3-r0 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.6 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.7 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.9 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.10 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.11 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.12 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.13 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.14 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.15 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.16 | fixed |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0~preview1-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-6ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.8 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.9 | fixed |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.4 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.6 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.7 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.9 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.10 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.11 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.12 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.13 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.14 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.15 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~ubuntu16.04.16 | fixed |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0~preview1-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-6ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.8 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.9 | fixed |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.4 | fixed |
| Debian | ruby2.5 | 10 | 2.5.5-3 | vulnerable |
| Debian | ruby2.5 | 10 | 2.5.5-3+deb10u1 | vulnerable |
| Debian | ruby2.5 | 10 | 2.5.5-3+deb10u2 | vulnerable |
| Debian | ruby2.5 | 10 | 2.5.5-3+deb10u3 | vulnerable |
| Debian | ruby2.5 | 10 | 2.5.5-3+deb10u4 | fixed |
| Suse | ruby2.5 | linux enterprise module for basesystem 15 sp2 | 2.5.9-4.17.1 | fixed |
| Suse | ruby2.5 | linux enterprise micro 5.0 | 2.5.9-4.17.1 | fixed |
| Opensuse | ruby2.5 | leap 15.2 | 2.5.9-lp152.2.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby2.7 | deb | 11 | 2.7.3-1 | Not reported | DEBIAN-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.10 | 2.5.9-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.11 | 2.6.7-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.12 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.13 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.14 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.15 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.16 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.17 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.18 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.19 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.20 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.21 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.22 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.23 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Alpine | ruby | apk | 3.24 | 2.7.3-r0 | Not reported | ALPINE-CVE-2021-28965 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~ubuntu16.04.16 | Not reported | UBUNTU-CVE-2021-28965 | Not reported |
| Ubuntu | ruby2.5 | deb | 18.04 | 2.5.1-1ubuntu1.9 | Not reported | UBUNTU-CVE-2021-28965 | Not reported |
| Ubuntu | ruby2.7 | deb | 20.04 | 2.7.0-5ubuntu1.4 | Not reported | UBUNTU-CVE-2021-28965 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~ubuntu16.04.16 | Not reported | USN-4922-1 | Not reported |
| Ubuntu | ruby2.5 | deb | 18.04 | 2.5.1-1ubuntu1.9 | Not reported | USN-4922-1 | Not reported |
| Ubuntu | ruby2.7 | deb | 20.04 | 2.7.0-5ubuntu1.4 | Not reported | USN-4922-1 | Not reported |
| Debian | ruby2.5 | deb | 10 | 2.5.5-3+deb10u4 | Not reported | DSA-5066-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise module for basesystem 15 sp2 | 2.5.9-4.17.1 | Not reported | SUSE-SU-2021:1280-1 | Not reported |
| Suse | ruby2.5 | rpm | linux enterprise micro 5.0 | 2.5.9-4.17.1 | Not reported | SUSE-SU-2021:1280-1 | Not reported |
| Opensuse | ruby2.5 | rpm | leap 15.2 | 2.5.9-lp152.2.6.1 | Not reported | OPENSUSE-SU-2021:0607-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_2584.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-28965]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-28965]
- [https://osv.dev/vulnerability/DSA-5066-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1280-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-28965]
- [https://osv.dev/vulnerability/USN-4922-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0607-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-28965.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]