CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8). EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in cgi 0.1.0.2, 0.2.2, 0.3.5.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hcgi (RubyGems): fixed in 0.3.5, 0.2.2, 0.1.0.2Explain CVE-2021-33621 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33621?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33621?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-33621 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:cgi | before 0.1.0.2 |
| ruby-lang:cgi | from 0.2.0 before 0.2.2 |
| ruby-lang:cgi | from 0.3.0 before 0.3.5 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| ruby-lang:ruby | from 2.7.0 before 2.7.7 |
| ruby-lang:ruby | from 3.0.0 before 3.0.5 |
| ruby-lang:ruby | from 3.1.0 before 3.1.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vc47-6rqg-c7f5 | RubyGems | cgi | >=0.3.0 <0.3.5 | 0.3.5 |
| GHSA-vc47-6rqg-c7f5 | RubyGems | cgi | >=0.2.0 <0.2.2 | 0.2.2 |
| GHSA-vc47-6rqg-c7f5 | RubyGems | cgi | <0.1.0.2 | 0.1.0.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby2.5 | 2.5.5-3+deb10u6 | DLA-3450-1 |
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u2 | DLA-3858-1 |
| Debian | 12 | ruby3.1 | 3.1.2-4 | DEBIAN-CVE-2021-33621 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | jruby | no fix listed | UBUNTU-CVE-2021-33621 |
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.13 | UBUNTU-CVE-2021-33621 USN-5806-2 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.8 | UBUNTU-CVE-2021-33621 USN-5806-3 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.3 | UBUNTU-CVE-2021-33621 USN-5806-2 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm4 | UBUNTU-CVE-2021-33621 USN-5806-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-111.module+el8.9.0+19193+435404ae | RHSA-2023:7025 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.1.4-142.module+el8.9.0+21471+7d1e4a35 | RHSA-2024:1431 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:2.7.8-139.module+el8.8.0+18745+f1bef313 | RHSA-2023:3821 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:3.0.7-143.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.3.0-4.module+el8.9.0+19193+435404ae | RHSA-2023:7025 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.3.0+7192+4e3a532a | RHSA-2023:3821 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.9.0+21471+7d1e4a35 | RHSA-2024:1431 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-111.module+el8.9.0+19193+435404ae | RHSA-2023:7025 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:2.0.0-139.module+el8.8.0+18745+f1bef313 | RHSA-2023:3821 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.0.0-143.module+el8.10.0+21858+d19f3934 | RHSA-2024:3500 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.1-142.module+el8.9.0+21471+7d1e4a35 | RHSA-2024:1431 |
| 143 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 more | ruby2.5 | 2.5.9-150000.4.29.1 | SUSE-SU-2023:4176-1 |
| openSUSE | Leap 15.4, Leap 15.5 | ruby2.5 | 2.5.9-150000.4.29.1 | SUSE-SU-2023:4176-1 |
| openSUSE | Tumbleweed | ruby3.1 | 3.1.3-1.1 | openSUSE-SU-2024:12539-1 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-irb and 2 more | 2.5.9-111.module_el8.9.0+3635+c6f99506 | ALSA-2023:7025 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.1.4-142.module_el8.9.0+3746+91b8233a | ALSA-2024:1431 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 2.7.8-139.module_el8.8.0+3578+2b4b06da | ALSA-2023:3821 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 3.0.7-143.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2625+ec418553 | ALSA-2023:7025 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.3.0+6147+d0dfc1e4 | ALSA-2023:3821 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.7.0+3304+9392e77f | ALSA-2024:1431 |
| AlmaLinux | 8 | rubygem-bigdecimal | 1.3.4-111.module_el8.9.0+3635+c6f99506 | ALSA-2023:7025 |
| AlmaLinux | 8 | rubygem-bigdecimal | 2.0.0-139.module_el8.8.0+3578+2b4b06da | ALSA-2023:3821 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.0.0-143.module_el8.10.0+3852+ce828b19 | ALSA-2024:3500 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.1-142.module_el8.9.0+3746+91b8233a | ALSA-2024:1431 |
| 122 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.
This vulnerability is marked as moderate because the flaw was more difficult to exploit but could still lead to some compromise of the confidentiality, integrity, or availability of resources under certain circumstances but are less easily exploited based on a technical evaluation of the flaw, or affect unlikely configurations.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:2.7-8080020230427102918.63b34585 | Fixed 2023-06-27 | RHSA-2023:3821 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8090020230627084142.b46abd14 | Fixed 2023-11-14 | RHSA-2023:7025 |
| Red Hat Enterprise Linux 8 | ruby:3.1-8090020240311122605.a75119d5 | Fixed 2024-03-19 | RHSA-2024:1431 |
| Red Hat Enterprise Linux 8 | ruby:3.0-8100020240522072634.489197e6 | Fixed 2024-05-30 | RHSA-2024:3500 |
| Red Hat Enterprise Linux 9 | ruby:3.1-9030020240320163942.9 | Fixed 2024-04-01 | RHSA-2024:1576 |
| Red Hat Enterprise Linux 9 | ruby-0:3.0.7-162.el9_4 | Fixed 2024-06-11 | RHSA-2024:3838 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | ruby-0:3.0.4-161.el9_2.1 | Fixed 2024-07-15 | RHSA-2024:4542 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby27-ruby-0:2.7.8-132.el7 | Fixed 2023-05-24 | RHSA-2023:3291 |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 7 | ruby | Out of support scope | |
| Red Hat Software Collections | rh-ruby30-ruby | Will not fix |
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-33621.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).