CVE-2022-30123
CRITICAL 10.0CVSS 3.1Possible shell escape sequence injection vulnerability in Rack
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.
- Published
- 5 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-150
- Also known as
- GHSA-wq4h-7r42-5hrr
- Sources
- NVDJSONOSV GHSA-wq4h-7r42-5hrrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rack_project | rackcpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* |
< 2.0.9.1 | 2.0.9.1 |
| NVD | rack_project | rackcpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.4.1 | 2.1.4.1 |
| NVD | rack_project | rackcpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.3.1 | 2.2.3.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | RubyGems | rack | < 2.0.9.1 | 2.0.9.1 |
| OSV | RubyGems | rack | >= 2.1, < 2.1.4.1 | 2.1.4.1 |
| OSV | RubyGems | rack | >= 2.2, < 2.2.3.1 | 2.2.3.1 |
References
- https://discuss.rubyonrails.org/t/cve-2022-30123-possible-shell-escape-sequence-injection-vulnerability-in-rack/80728 · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202310-18 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20231208-0011/ · WEB
- https://www.debian.org/security/2023/dsa-5530 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-30123 · ADVISORY
- https://github.com/rack/rack/commit/b426cc224908ec6ed6eb8729325392b048215d88 · WEB
- https://github.com/rack/rack · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30123.yml · WEB
- https://groups.google.com/g/ruby-security-ann/c/LWB10kWzag8 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2022)