CVSS 3.1
10.0 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HCritical (10.0). EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.0.9.1, 2.1.4.1, 2.2.3.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:Hrack (RubyGems): fixed in 2.0.9.1, 2.1.4.1, 2.2.3.1Explain CVE-2022-30123 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30123?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30123?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-2022-30123 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 |
|---|---|
| rack_project:rack | before 2.0.9.1 |
| rack_project:rack | from 2.1.0 before 2.1.4.1 |
| rack_project:rack | from 2.2.0 before 2.2.3.1 |
| debian:debian_linux | 11.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wq4h-7r42-5hrr | RubyGems | rack | <2.0.9.1 | 2.0.9.1 |
| GHSA-wq4h-7r42-5hrr | RubyGems | rack | >=2.1 <2.1.4.1 | 2.1.4.1 |
| GHSA-wq4h-7r42-5hrr | RubyGems | rack | >=2.2 <2.2.3.1 | 2.2.3.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby-rack | 2.0.6-3+deb10u1 | DLA-3095-1 |
| Debian | 11 | ruby-rack | 2.1.4-3+deb11u1 | DSA-5530-1 |
| Debian | 12, 13, 14 | ruby-rack | 2.2.4-1 | DEBIAN-CVE-2022-30123 |
| Ubuntu | 22.04:LTS | ruby-rack | 2.1.4-5ubuntu1.1 | UBUNTU-CVE-2022-30123 USN-7036-1 |
| Ubuntu | Pro:14.04:LTS | ruby-rack | 1.5.2-3+deb8u3ubuntu1~esm4 | UBUNTU-CVE-2022-30123 USN-5253-1 |
| Ubuntu | Pro:16.04:LTS | ruby-rack | 1.6.4-3ubuntu0.2+esm2 | UBUNTU-CVE-2022-30123 USN-5253-1 |
| Ubuntu | Pro:18.04:LTS | ruby-rack | 1.6.4-4ubuntu0.2+esm2 | UBUNTU-CVE-2022-30123 USN-5253-1 USN-5896-1 |
| Ubuntu | Pro:20.04:LTS | ruby-rack | 2.0.7-2ubuntu0.1+esm2 | UBUNTU-CVE-2022-30123 USN-5253-1 USN-5896-1 |
| Ubuntu | Pro:22.04:LTS | ruby-rack | 2.1.4-5ubuntu1+esm2 | UBUNTU-CVE-2022-30123 USN-5896-1 |
| Red Hat | enterprise_linux:7::server | pcs, pcs-snmp, pcs-debuginfo | 0:0.9.169-3.el7_9.3 | RHSA-2022:7343 |
| Red Hat | storage:3.5:wa:el7 | grafana | 0:5.2.4-6.el7rhgs | RHSA-2023:1486 |
| Red Hat | storage:3.5:wa:el7 | rubygem-puma, rubygem-puma-doc, rubygem-puma-debuginfo | 0:4.3.12-1.el7rhgs | RHSA-2023:1486 |
| Red Hat | storage:3.5:wa:el7 | rubygem-rack, rubygem-rack-doc | 0:2.2.4-1.el7rhgs | RHSA-2023:1486 |
| Red Hat | storage:3.5:wa:el7 | rubygem-tzinfo, rubygem-tzinfo-doc | 0:1.2.10-1.el7rhgs | RHSA-2023:1486 |
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2 and 2 more | rubygem-rack | 2.0.8-150000.3.6.1 | SUSE-SU-2022:2192-1 |
| SUSE | OpenStack Cloud Crowbar 8, OpenStack Cloud Crowbar 9 | rubygem-rack | 1.6.13-3.13.1 | SUSE-SU-2022:2526-1 |
| openSUSE | Leap 15.3, Leap 15.4 | rubygem-rack | 2.0.8-150000.3.6.1 | SUSE-SU-2022:2192-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-rack | 3.0.7-1.2 | openSUSE-SU-2024:13167-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-rack-2.2 | 2.2.7-1.1 | openSUSE-SU-2024:12974-1 |
| openSUSE | Tumbleweed | rubygem-rack | 2.2.3.1-1.1 | openSUSE-SU-2024:12119-1 |
| openSUSE | Tumbleweed | rubygem-rack | 3.0.9.1-1.1 | openSUSE-SU-2024:13726-1 |
| openSUSE | Tumbleweed | rubygem-rack | 3.1.12-1.1 | openSUSE-SU-2025:14875-1 |
| openSUSE | Tumbleweed | rubygem-rack | 3.1.18-1.3 | openSUSE-SU-2026:10358-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.11-1.1 | openSUSE-SU-2025:14811-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.22-1.1 | openSUSE-SU-2026:10286-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.4-1.1 | openSUSE-SU-2024:12397-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.8.1-1.1 | openSUSE-SU-2024:13727-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 Important.
- Because Red Hat OpenStack Platform 13.0 Operational Tools packaged the flawed code, but does not use its functionality, its Impact has been reduced to 'Low'.
- To exploit this vulnerability, applications should have either of these middlewares 'Lint' or 'CommonLogger' installed, and vulnerable apps may have something like this:
'use Rack::Lint' OR 'use Rack::CommonLogger'
The Red Hat products use the flawed code but don't use its functionality, Hence, the impact is set to Important.
- Logging Subsystem for Red Hat OpenShift uses the vulnerable ruby gem-rack package in the openshift-logging/fluentd-rhel8 component to instantiate client-to-server communication. But, this component cannot receive any requests so exploitation by crafted request consumption is not possible. Therefore the impact of this vulnerability on the Logging Subsystem for Red Hat OpenShift is reduced to Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/fluentd-rhel8:v1.14.5-51 | Fixed 2023-02-15 | RHSA-2023:0632 |
| Red Hat Enterprise Linux 7 | pcs-0:0.9.169-3.el7_9.3 | Fixed 2022-11-02 | RHSA-2022:7343 |
| Red Hat Gluster Storage 3.5 for RHEL 7 | rubygem-rack-0:2.2.4-1.el7rhgs | Fixed 2023-03-28 | RHSA-2023:1486 |
| Red Hat OpenStack Platform 13 (Queens) Operational Tools | rubygem-rack | Will not fix | |
| Red Hat Satellite 6 | rubygem-rack | 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-2022-30123.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.