CVSS 3.1
5.8 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NMedium (5.8). EPSS 3.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NExplain CVE-2021-31810 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31810?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31810?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-31810 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:ruby | through 2.6.7 |
| ruby-lang:ruby | from 2.7.0 through 2.7.3 |
| ruby-lang:ruby | from 3.0.0 through 3.0.1 |
| debian:debian_linux | 9.0 |
| oracle:jd_edwards_enterpriseone_tools | before 9.2.6.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | ruby2.3 | 2.3.3-1+deb9u10 | DLA-2780-1 |
| Debian | 10 | jruby | 9.1.17.0-3+deb10u1 | DLA-3408-1 |
| Debian | 10 | ruby2.5 | 2.5.5-3+deb10u4 | DSA-5066-1 |
| Debian | 12, 13, 14 | jruby | 9.3.9.0+ds-1 | DEBIAN-CVE-2021-31810 |
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.10 | UBUNTU-CVE-2021-31810 USN-5020-1 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.5 | UBUNTU-CVE-2021-31810 USN-5020-1 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm1 | UBUNTU-CVE-2021-31810 USN-5020-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-109.module+el8.5.0+14275+d9c243ca | RHSA-2022:0672 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:2.7.4-137.module+el8.4.0+12025+f744ca41 | RHSA-2021:3020 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 4 more | 0:2.6.9-108.module+el8.5.0+13719+08a8ba32 | RHSA-2022:0543 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3653+beb38eb0 | RHSA-2022:0543 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.1.0+3656+f80bfa1d | RHSA-2022:0672 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.3.0+7192+4e3a532a | RHSA-2021:3020 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-109.module+el8.5.0+14275+d9c243ca | RHSA-2022:0672 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.4.1-108.module+el8.5.0+13719+08a8ba32 | RHSA-2022:0543 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:2.0.0-137.module+el8.4.0+12025+f744ca41 | RHSA-2021:3020 |
| 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-2022:0672 |
| 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-2022:0543 |
| 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:3020 |
| 172 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 more | ruby2.5 | 2.5.9-150000.4.23.1 | SUSE-SU-2022:1512-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 more | ruby2.5 | 2.5.9-4.20.1 | SUSE-SU-2021:3838-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | ruby2.1 | 2.1.9-19.6.1 | SUSE-SU-2021:3837-1 |
| SUSE | WebYast 1.3 | ruby | 1.8.7.p357-0.9.20.3.1 | SUSE-SU-2022:15034-1 |
| openSUSE | Leap 15.2 | ruby2.5 | 2.5.9-lp152.2.9.1 | openSUSE-SU-2021:1535-1 |
| openSUSE | Leap 15.3 | ruby2.5 | 2.5.9-4.20.1 | openSUSE-SU-2021:3838-1 |
| openSUSE | Leap 15.3, Leap 15.4 | ruby2.5 | 2.5.9-150000.4.23.1 | SUSE-SU-2022:1512-1 |
| openSUSE | Tumbleweed | ruby2.7 | 2.7.4-1.1 | openSUSE-SU-2024:11622-1 |
| openSUSE | Tumbleweed | ruby3.0 | 3.0.2-1.1 | openSUSE-SU-2024:11623-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 | ruby, ruby-doc, ruby-irb and 2 more | 2.5.9-109.module_el8.5.0+259+8cec6917 | ALSA-2022:0672 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-irb and 2 more | 2.5.9-109.module_el8.5.0+2627+d9c243ca | ALSA-2022:0672 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 1 more | 2.6.9-108.module_el8.5.0+250+ba22dbf7 | ALSA-2022:0543 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 1 more | 2.6.9-108.module_el8.5.0+2623+08a8ba32 | ALSA-2022:0543 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 2.7.4-137.module_el8.4.0+2515+f744ca41 | ALSA-2021:3020 |
| AlmaLinux | 8 | ruby, ruby-libs, ruby-devel | 2.7.4-137.module_el8.5.0+117+35d1289b | ALSA-2021:3020 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+259+8cec6917 | ALSA-2022:0543 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2623+08a8ba32 | ALSA-2022:0543 ALSA-2022:0672 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2625+ec418553 | ALSA-2022:0672 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.3.0+6147+d0dfc1e4 | ALSA-2021:3020 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.4.0+2399+4e3a532a | ALSA-2021:3020 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.5.0+118+1ab773e1 | ALSA-2021:3020 |
| 83 more for AlmaLinux in the JSON. | ||||
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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
Red Hat CloudForms 5.11 does not ship Ruby or RubyGem net-ftp and thus not affected by the flaw. RubyGem net-sftp (Ruby implementation of Secure File Transfer Protocol) which product ship is different library component from the affected package.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:2.7-8040020210728141159.522a0ee4 | Fixed 2021-08-05 | RHSA-2021:3020 |
| Red Hat Enterprise Linux 8 | ruby:2.6-8050020211215144356.c5368500 | Fixed 2022-02-16 | RHSA-2022:0543 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8050020220216195847.c5368500 | Fixed 2022-02-24 | RHSA-2022:0672 |
| 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 Enterprise Linux 8.4 Extended Update Support | ruby:2.6-8040020220131135901.522a0ee4 | Fixed 2022-02-16 | RHSA-2022:0544 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby27-ruby-0:2.7.4-130.el7 | Fixed 2021-09-20 | RHSA-2021:3559 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby30-ruby-0:3.0.2-148.el7 | Fixed 2021-10-25 | RHSA-2021:3982 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby26-ruby-0:2.6.9-120.el7 | Fixed 2022-02-28 | RHSA-2022:0708 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-ruby27-ruby-0:2.7.4-130.el7 | Fixed 2021-09-20 | RHSA-2021:3559 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-ruby30-ruby-0:3.0.2-148.el7 | Fixed 2021-10-25 | RHSA-2021:3982 |
| 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 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.3.hum1 | Fixed 2026-04-17 | RHSA-2026:8838 |
| 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 |
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-31810.