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 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in cgi 0.1.0.1, 0.2.1, 0.3.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Ncgi (RubyGems): fixed in 0.3.1, 0.2.1, 0.1.0.1Explain CVE-2021-41819 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41819?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41819?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-41819 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 | 0.1.0 |
| ruby-lang:cgi | 0.2.0 |
| ruby-lang:cgi | 0.3.0 |
| ruby-lang:ruby | through 2.6.8 |
| ruby-lang:ruby | from 2.7.0 before 2.7.5 |
| ruby-lang:ruby | from 3.0.0 before 3.0.3 |
| redhat:enterprise_linux | 8.0 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| suse:linux_enterprise | 11.0:sp1 |
| suse:linux_enterprise | 12.0 |
| suse:linux_enterprise | 15.0 |
| opensuse:leap | 15.2 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4vf4-qmvg-mh7h | RubyGems | cgi | >=0.3.0 <0.3.1 | 0.3.1 |
| GHSA-4vf4-qmvg-mh7h | RubyGems | cgi | >=0.2.0 <0.2.1 | 0.2.1 |
| GHSA-4vf4-qmvg-mh7h | RubyGems | cgi | <0.1.0.1 | 0.1.0.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | ruby2.3 | 2.3.3-1+deb9u11 | DLA-2853-1 |
| Debian | 10 | ruby2.5 | 2.5.5-3+deb10u4 | DSA-5066-1 |
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u1 | DEBIAN-CVE-2021-41819 DSA-5067-1 |
| Ubuntu | 18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.11 | UBUNTU-CVE-2021-41819 USN-5235-1 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.6 | UBUNTU-CVE-2021-41819 USN-5235-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2 | UBUNTU-CVE-2021-41819 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm2 | UBUNTU-CVE-2021-41819 USN-5235-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-110.module+el8.6.0+15956+aa803fc1 | RHSA-2022:5779 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:2.7.6-138.module+el8.6.0+16148+54b2ba8f | RHSA-2022:6447 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 5 more | 0:3.0.4-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| 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:5779 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.3.0+7192+4e3a532a | RHSA-2022:6447 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.5.0+11580+845038eb | RHSA-2022:6450 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:1.3.4-110.module+el8.6.0+15956+aa803fc1 | RHSA-2022:5779 |
| 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-138.module+el8.6.0+16148+54b2ba8f | RHSA-2022:6447 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.0.0-141.module+el8.6.0+16311+3e5e17e9 | RHSA-2022:6450 |
| 192 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Basesystem 15 SP4 | ruby2.5 | 2.5.9-150000.4.26.1 | SUSE-SU-2022:3292-1 |
| openSUSE | Leap 15.3, Leap 15.4 | ruby2.5 | 2.5.9-150000.4.26.1 | SUSE-SU-2022:3292-1 |
| openSUSE | Tumbleweed | ruby2.7 | 2.7.5-1.1 | openSUSE-SU-2024:11657-1 |
| openSUSE | Tumbleweed | ruby3.0 | 3.0.3-1.1 | openSUSE-SU-2024:11658-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-110.module_el8.6.0+3074+4b08f9d4 | ALSA-2022:5779 |
| 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.6-138.module_el8.6.0+3263+904da987 | ALSA-2022:6447 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 2 more | 3.0.4-141.module_el8.6.0+3263+41cde0c0 | ALSA-2022:6450 |
| 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 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.3.0-4.module_el8.5.0+2625+ec418553 | ALSA-2022:5779 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.5.0+2595+0c654ebc | ALSA-2022:6447 ALSA-2022:6450 |
| AlmaLinux | 8 | rubygem-bigdecimal | 1.3.4-110.module_el8.6.0+3074+4b08f9d4 | ALSA-2022:5779 |
| AlmaLinux | 8 | rubygem-bigdecimal | 1.4.1-108.module_el8.5.0+250+ba22dbf7 | ALSA-2022:0543 |
| AlmaLinux | 8 | rubygem-bigdecimal | 1.4.1-108.module_el8.5.0+2623+08a8ba32 | ALSA-2022:0543 |
| 68 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.
| Product | Package | State | Advisory |
|---|---|---|---|
| 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-8060020220715152618.ad008a3a | Fixed 2022-08-01 | RHSA-2022:5779 |
| Red Hat Enterprise Linux 8 | ruby:2.7-8060020220728151401.ad008a3a | Fixed 2022-09-13 | RHSA-2022:6447 |
| Red Hat Enterprise Linux 8 | ruby:3.0-8060020220810162001.ad008a3a | Fixed 2022-09-13 | RHSA-2022:6450 |
| 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-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 | rh-ruby30-ruby-0:3.0.4-149.el7 | Fixed 2022-10-11 | RHSA-2022:6855 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby27-ruby-0:2.7.6-131.el7 | Fixed 2022-10-11 | RHSA-2022:6856 |
| 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 |
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-41819.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.