CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 5.1% estimated probability of exploitation activity in the next 30 days. Fixed in rexml 3.2.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nrexml (RubyGems): fixed in 3.2.5Explain CVE-2021-28965 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28965?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28965?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28965 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:rexml | before 3.2.5 |
| ruby-lang:ruby | before 2.6.7 |
| ruby-lang:ruby | from 2.7.0 before 2.7.3 |
| ruby-lang:ruby | from 3.0.0 before 3.0.1 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8cr8-4vfw-mr7h | RubyGems | rexml | <3.2.5 | 3.2.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby2.5 | 2.5.5-3+deb10u4 | DSA-5066-1 |
| Debian | 11 | ruby2.7 | 2.7.3-1 | DEBIAN-CVE-2021-28965 |
| Ubuntu | 16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16 | UBUNTU-CVE-2021-28965 USN-4922-1 |
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.9 | UBUNTU-CVE-2021-28965 USN-4922-1 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.4 | UBUNTU-CVE-2021-28965 USN-4922-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-107.module+el8.4.0+10822+fe4fffb1 | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:2.7.3-136.module+el8.4.0+10728+4c884998 | RHSA-2021:2584 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 4 more | 0:2.6.7-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3653+beb38eb0 | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3656+f80bfa1d | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.3.0+7192+4e3a532a | RHSA-2021:2584 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-107.module+el8.4.0+10822+fe4fffb1 | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.4.1-107.module+el8.4.0+10830+bbd85cce | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:2.0.0-136.module+el8.4.0+10728+4c884998 | RHSA-2021:2584 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.3.0-2.module+el8.1.0+3656+f80bfa1d | RHSA-2021:2587 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.5.0-1.module+el8.1.0+3653+beb38eb0 | RHSA-2021:2588 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.8.1-1.module+el8.3.0+7192+4e3a532a | RHSA-2021:2584 |
| 149 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2 | ruby2.5 | 2.5.9-4.17.1 | SUSE-SU-2021:1280-1 |
| openSUSE | Leap 15.2 | ruby2.5 | 2.5.9-lp152.2.6.1 | openSUSE-SU-2021:0607-1 |
| openSUSE | Tumbleweed | ruby2.7 | 2.7.3-3.2 | openSUSE-SU-2024:11310-1 |
| openSUSE | Tumbleweed | ruby3.0 | 3.0.1-3.2 | openSUSE-SU-2024:11311-1 |
| openSUSE | Tumbleweed | ruby3.1 | 3.1.0-1.1 | openSUSE-SU-2024:11786-1 |
| openSUSE | Tumbleweed | ruby3.2 | 3.2.1-1.1 | openSUSE-SU-2024:12712-1 |
| openSUSE | Tumbleweed | ruby3.3 | 3.3.0-1.2 | openSUSE-SU-2024:13623-1 |
| openSUSE | Tumbleweed | ruby3.4 | 3.4.1-1.1 | openSUSE-SU-2025:14621-1 |
| openSUSE | Tumbleweed | ruby4.0 | 4.0.0~preview2-1.1 | openSUSE-SU-2025:15819-1 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2623+08a8ba32 | ALSA-2021:2587 ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2625+ec418553 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.3.0+6147+d0dfc1e4 | ALSA-2021:2584 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.4.0+2399+4e3a532a | ALSA-2021:2584 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.5.0+118+1ab773e1 | ALSA-2021:2584 |
| AlmaLinux | 8 | rubygem-bson | 4.8.1-1.module_el8.4.0+2399+4e3a532a | ALSA-2021:2584 |
| AlmaLinux | 8 | rubygem-bson | 4.8.1-1.module_el8.5.0+117+35d1289b | ALSA-2021:2584 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.3.0-2.module_el8.5.0+259+8cec6917 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.3.0-2.module_el8.5.0+2625+ec418553 | ALSA-2021:2587 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.5.0-1.module_el8.5.0+250+ba22dbf7 | ALSA-2021:2588 |
| AlmaLinux | 8 | rubygem-bson, rubygem-bson-doc | 4.5.0-1.module_el8.5.0+2623+08a8ba32 | ALSA-2021:2588 |
| 20 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:2.5.9-107.module+el8.4.0+592+03ff458a | RLSA-2021:2587 |
| Rocky Linux | 8 | ruby | 0:2.6.7-107.module+el8.4.0+593+8d7f9f0c | RLSA-2021:2588 |
| Rocky Linux | 8 | ruby | 0:2.7.3-136.module+el8.4.0+594+11b6673a | RLSA-2021:2584 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.3.0+167+5c390590 | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.4.0+592+03ff458a | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.3.0-4.module+el8.5.0+738+032c9c02 | RLSA-2021:2587 RLSA-2021:2588 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+411+b946f28c | RLSA-2021:2584 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.4.0+594+11b6673a | RLSA-2021:2584 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2021:2584 |
| Rocky Linux | 8 | rubygem-bson | 0:4.3.0-2.module+el8.3.0+167+5c390590 | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-bson | 0:4.3.0-2.module+el8.4.0+592+03ff458a | RLSA-2021:2587 |
| Rocky Linux | 8 | rubygem-bson | 0:4.5.0-1.module+el8.4.0+446+80b53620 | RLSA-2021:2588 |
| 28 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.10 | ruby | 2.5.9-r0 | ALPINE-CVE-2021-28965 |
| Alpine | v3.11 | ruby | 2.6.7-r0 | ALPINE-CVE-2021-28965 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | ruby | 2.7.3-r0 | ALPINE-CVE-2021-28965 |
| Azure Linux | 2 | ruby | 2.7.4-1 | AZL-6860 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:2.7-8040020210421133318.522a0ee4 | Fixed 2021-06-29 | RHSA-2021:2584 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8040020200923213910.522a0ee4 | Fixed 2021-06-29 | RHSA-2021:2587 |
| Red Hat Enterprise Linux 8 | ruby:2.6-8040020210430142949.522a0ee4 | Fixed 2021-06-29 | RHSA-2021:2588 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | ruby:2.6-8010020220201152941.c27ad7f8 | Fixed 2022-02-21 | RHSA-2022:0581 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | ruby:2.6-8020020220201131207.4cda2c84 | Fixed 2022-02-21 | RHSA-2022:0582 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby25-ruby-0:2.5.9-9.el7 | Fixed 2021-05-26 | RHSA-2021:2104 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby27-ruby-0:2.7.3-129.el7 | Fixed 2021-06-03 | RHSA-2021:2229 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby26-ruby-0:2.6.7-119.el7 | Fixed 2021-06-03 | RHSA-2021:2230 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby25-ruby-0:2.5.9-9.el7 | Fixed 2021-05-26 | RHSA-2021:2104 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-ruby25-ruby-0:2.5.9-9.el7 | Fixed 2021-05-26 | RHSA-2021:2104 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-ruby27-ruby-0:2.7.3-129.el7 | Fixed 2021-06-03 | RHSA-2021:2229 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-ruby26-ruby-0:2.6.7-119.el7 | Fixed 2021-06-03 | RHSA-2021:2230 |
| Red Hat Hardened Images | ruby3-3-main-3.3.10-23.1.hum1 | Fixed 2026-04-09 | RHSA-2026:7305 |
| Red Hat Hardened Images | ruby3-4-main-3.4.8-31.1.hum1 | Fixed 2026-04-09 | RHSA-2026:7307 |
| CloudForms Management Engine 5 | ruby | Not affected | |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 7 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 9 | ruby | Not affected | |
| Red Hat Hardened Images | ruby | Affected | |
| Red Hat Software Collections | rh-ruby30-ruby | Affected | |
| 1 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28965.