CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5). EPSS 4.0% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 5.2.4.6, 5.2.6, 6.0.3.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nactionpack (RubyGems): fixed in 6.0.3.7, 6.1.3.2, 5.2.6, 5.2.4.6Explain CVE-2021-22885 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22885?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22885?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-22885 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 |
|---|---|
| rubyonrails:rails | from 5.2.0.0 before 5.2.4.6 |
| rubyonrails:rails | from 6.0.0.0 before 6.0.3.7 |
| rubyonrails:rails | from 6.1.0.0 before 6.1.3.1 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hjg4-8q5f-x6fm | RubyGems | actionpack | >=6.0.0 <6.0.3.7 | 6.0.3.7 |
| GHSA-hjg4-8q5f-x6fm | RubyGems | actionpack | >=6.1.0 <6.1.3.2 | 6.1.3.2 |
| GHSA-hjg4-8q5f-x6fm | RubyGems | actionpack | >=5.2.5 <5.2.6 | 5.2.6 |
| GHSA-hjg4-8q5f-x6fm | RubyGems | actionpack | >=2.0.0 <5.2.4.6 | 5.2.4.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | rails | 2:4.2.7.1-1+deb9u5 | DLA-2655-1 |
| Debian | 10 | rails | 2:5.2.2.1+dfsg-1+deb10u3 | DSA-4929-1 |
| Debian | 12, 13, 14 | rails | 2:6.0.3.7+dfsg-1 | DEBIAN-CVE-2021-22885 |
| Ubuntu | 24.04:LTS, 25.10, 26.04:LTS and 5 more | rails | no fix listed | UBUNTU-CVE-2021-22885 |
| Red Hat | satellite:6.10::el7 | candlepin | 0:4.0.9-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | satellite | 0:6.10.0-3.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-activerecord-session_store | 0:2.0.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-addressable | 0:2.8.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-puma | 0:5.3.2-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-rails, tfm-rubygem-actionpack | 0:6.0.3.7-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | foreman | 0:2.5.2.17-2.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-aiohttp | 0:3.7.4-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-ecdsa, python3-ecdsa | 0:0.13.3-2.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-pyyaml, python3-pyyaml | 0:5.4.1-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-urllib3, python3-urllib3 | 0:1.26.5-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python3-django | 0:2.2.24-1.el7pc | RHSA-2021:4702 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2 and 1 more | rubygem-actionpack-5_1 | 5.1.4-3.9.1 | SUSE-SU-2021:1759-1 |
| SUSE | OpenStack Cloud 7, OpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9 | rubygem-actionpack-4_2 | 4.2.9-7.12.1 | SUSE-SU-2021:1650-1 |
| SUSE | WebYast 1.3 | rubygem-actionpack-3_2 | 3.2.12-0.27.3.1 | SUSE-SU-2022:15116-1 |
| openSUSE | Leap 15.2 | rubygem-actionpack-5_1 | 5.1.4-lp152.5.6.1 | openSUSE-SU-2021:0797-1 |
| openSUSE | Leap 15.3 | rubygem-actionpack-5_1 | 5.1.4-3.9.1 | openSUSE-SU-2021:1759-1 |
| openSUSE | Tumbleweed | rubygem-actionpack-6.0 | 6.0.4.4-1.1 | openSUSE-SU-2024:11821-1 |
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. 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 is in the maintenance phase and we will not be fixing Medium/Low impact security bugs. Reference: https://access.redhat.com/support/policy/updates/cloudforms
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.10 for RHEL 7 | tfm-rubygem-actionpack-0:6.0.3.7-1.el7sat | Fixed 2021-11-16 | RHSA-2021:4702 |
| CloudForms Management Engine 5 | cfme-gemset | Will not fix | |
| Red Hat 3scale API Management Platform 2 | system | Affected | |
| Red Hat Satellite 6 | tfm-ror52-rubygem-actionpack | 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-22885.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.