Home / https://github.com/rack/rack / https://github.com/rack/rack / CVE-2022-30123
CVE-2022-30123: is it exploited, and which versions of https://github.com/rack/rack are affected and fixed?
CVE-2022-30123 is an improper Neutralization of Escape, Meta, or Control Sequences vulnerability in https://github.com/rack/rack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: rack before 2.0.9.1, rack from 2.1 before 2.1.4.1 and rack from 2.2 before 2.2.3.1 (GitHub advisory GHSA-wq4h-7r42-5hrr). Fixed in 2.0.9.1, 2.1.4.1 and 2.2.3.1 (GitHub advisory GHSA-wq4h-7r42-5hrr). Severity: Critical (10.0, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-30123?
A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.
From the CVE record by hackerone, last updated August 3, 2024, 06:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| https://github.com/rack/rack | 2.0.9.1, 2.1.4.1, 2.2.3.1 |
As the CVE record by hackerone states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 | GHSA-wq4h-7r42-5hrr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 7, 2022. Summary: Possible shell escape sequence injection vulnerability in Rack.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rack project | rack | before 2.0.9.1 | application |
| rack project | rack | from 2.1.0 before 2.1.4.1 | application |
| rack project | rack | from 2.2.0 before 2.2.3.1 | application |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:43 UTC.
How severe is CVE-2022-30123?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-30123 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.45% probability of exploitation activity in the next 30 days, percentile 84.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Where are the vendor advisories and references?
- https://discuss.rubyonrails.org/t/cve-2022-30123-possible-shell-escape-sequence-injection-vulnerability-in-rack/80728
- DSA-5530 vendor-advisory
- GLSA-202310-18 vendor-advisory
- https://security.netapp.com/advisory/ntap-20231208-0011/
When was it published, and where is the official record?
- Reserved
- May 2, 2022
- Published
- December 5, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 06:40 UTC by hackerone
- NVD
- Modified, last modified June 17, 2026, 04:43 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect https://github.com/rack/rack?
- Mar 10, 2023CVE-2023-27530 https://github.com/rack/rack: denial of service (uncontrolled resource consumption)
- Feb 9, 2023CVE-2022-44572 https://github.com/rack/rack: denial of service (uncontrolled resource consumption)
- Feb 9, 2023CVE-2022-44571 https://github.com/rack/rack: denial of service (uncontrolled resource consumption)
- Feb 9, 2023CVE-2022-44570 https://github.com/rack/rack: denial of service (uncontrolled resource consumption)
- Dec 5, 2022CVE-2022-30122 https://github.com/rack/rack: denial of service (uncontrolled resource consumption)
- Jul 2, 2020CVE-2020-8161 https://github.com/rack/rack: exposure of Information Through Directory Listing
- Jun 19, 2020CVE-2020-8184 https://github.com/rack/rack: reliance on Cookies without Validation and Integrity Checking in a Security Decision
Every CVE in https://github.com/rack/rack
Questions about CVE-2022-30123
Is CVE-2022-30123 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 2.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of https://github.com/rack/rack are affected by CVE-2022-30123?
rack before 2.0.9.1, rack from 2.1 before 2.1.4.1 and rack from 2.2 before 2.2.3.1, per the GitHub advisory GHSA-wq4h-7r42-5hrr. The tables above give every range the sources list.
Which version fixes CVE-2022-30123?
2.0.9.1, 2.1.4.1 and 2.2.3.1, per the GitHub advisory GHSA-wq4h-7r42-5hrr. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-30123?
Critical (10.0, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-30123?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.