CVE-2022-30122
rubygem-rack: crafted multipart POST request may cause a DoS
Overview
Description
A possible denial of service vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 in the multipart parsing component of Rack.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400, CWE-1333
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | rack | >=1.2, <2.0.9.1>=2.1, <2.1.4.1>=2.2, <2.2.3.1 | 2.0.9.12.1.4.12.2.3.1~> 2.0.9, >= 2.0.9.1~> 2.1.4, >= 2.1.4.1 |
| Seal RubyGems | rack | >=2.0.7.0.1.sp0, <2.0.7.0.1.sp2 | 2.0.7.0.1.sp2 |
| Seal RubyGems | seal-rack | >=2.0.7.0.1.sp1, <2.0.7.0.1.sp2 | 2.0.7.0.1.sp2 |
Open a package to see all its vulnerabilities.
Operating systems · 26 fixes
Red Hat 2 releases · 5 packages
fixed 4
affected 1
eol 1
rubygem-tzinfo
rubygem-rack
rubygem-puma
grafana
pcs
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| rubygem-tzinfo +1 | 0:1.2.10-1.el7rhgs | RHSA-2023:1486 | |
| rubygem-rack +1 | 0:2.2.4-1.el7rhgs | RHSA-2023:1486 | |
| rubygem-puma +1 | 0:4.3.12-1.el7rhgs | RHSA-2023:1486 | |
| grafana | 0:5.2.4-6.el7rhgs | RHSA-2023:1486 | |
| 7 | rubygem-rack | affected | — |
| 7 | pcs +2 | eol | — |
SUSE Linux Enterprise 1 release · 1 package
fixed 1
ruby2-5-rubygem-rack
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | ruby2-5-rubygem-rack | 2.0.8-150000.3.6.1 | SUSE-SU-2022:2192-1 |
debian 5 releases · 1 package
fixed 5
ruby-rack
| Release | Package | Fixed in |
|---|---|---|
| 10 | ruby-rack | 2.0.6-3+deb10u1 |
| 11 | ruby-rack | 2.1.4-3+deb11u1 |
| 12 | ruby-rack | 2.2.4-1 |
| 13 | ruby-rack | 2.2.4-1 |
| 14 | ruby-rack | 2.2.4-1 |
echo 1 release · 1 package
fixed 1
ruby-rack
| Release | Package | Fixed in |
|---|---|---|
| ruby-rack | 2.2.4-1 |
openSUSE 1 release · 10 packages
fixed 10
ruby3-4-rubygem-rack-2-2
ruby4-0-rubygem-rack-2-2
ruby3-1-rubygem-rack
ruby3-1-rubygem-rack-2-2
ruby3-2-rubygem-rack-2-2
ruby3-3-rubygem-rack-2-2
+4
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-4-rubygem-rack-2-2 | 2.2.11-1.1 | openSUSE-SU-2025:14811-1 |
| Tumbleweed | ruby4-0-rubygem-rack-2-2 | 2.2.22-1.1 | openSUSE-SU-2026:10286-1 |
| Tumbleweed | ruby3-1-rubygem-rack | 2.2.3.1-1.1 | openSUSE-SU-2024:12119-1 |
| Tumbleweed | ruby3-1-rubygem-rack-2-2 | 2.2.4-1.1 | openSUSE-SU-2024:12397-1 |
| Tumbleweed | ruby3-2-rubygem-rack-2-2 | 2.2.7-1.1 | openSUSE-SU-2024:12974-1 |
| Tumbleweed | ruby3-3-rubygem-rack-2-2 | 2.2.8.1-1.1 | openSUSE-SU-2024:13727-1 |
4 more rows
ubuntu 3 releases · 1 package
fixed 3
ruby-rack
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-rack | 1.6.4-4ubuntu0.2+esm2 |
| 20.04-ESM | ruby-rack | 2.0.7-2ubuntu0.1+esm2 |
| 22.04 | ruby-rack | 2.1.4-5ubuntu1.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-30122
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/cve-2022-30122-denial-of-service-vulnerability-in-rack-multipart-parsing/80729
- github.com https://github.com/advisories/GHSA-hxqx-xwvh-44m2
- github.com https://github.com/rack/rack
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30122.yml
- groups.google.com https://groups.google.com/g/ruby-security-ann/c/L2Axto442qk
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-30122
- security.gentoo.org https://security.gentoo.org/glsa/202310-18
- security.netapp.com https://security.netapp.com/advisory/ntap-20231208-0012
- security.netapp.com https://security.netapp.com/advisory/ntap-20231208-0012/
Show all 15 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.