{"id":"CVE-2022-30122","aliases":["CVE-2022-30122","GHSA-hxqx-xwvh-44m2"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service Vulnerability in Rack Multipart Parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"There is a possible denial of service vulnerability in the multipart parsing component of Rack.  This vulnerability has been assigned the CVE identifier CVE-2022-30122.\n\nVersions Affected:  >= 1.2\nNot affected:       < 1.2\nFixed Versions:     2.0.9.1, 2.1.4.1, 2.2.3.1\n\n## Impact\nCarefully crafted multipart POST requests can cause Rack's multipart parser to take much longer than expected, leading to a possible denial of service vulnerability.\n\nImpacted code will use Rack's multipart parser to parse multipart posts.  This includes directly using the multipart parser like this:\n\n```\nparams = Rack::Multipart.parse_multipart(env)\n```\n\nBut it also includes reading POST data from a Rack request object like this:\n\n```\np request.POST # read POST data\np request.params # reads both query params and POST data\n```\n\nAll users running an affected release should either upgrade or use one of the workarounds immediately.\n\n## Workarounds\nThere are no feasible workarounds for this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una posible vulnerabilidad de Denegación de Servicio (DoS) en Rack &lt;2.0.9.1, &lt;2.1.4.1 y &lt;2.2.3.1 en el componente de análisis multiparte de Rack.","source":"nvd"}],"published":"2022-05-27T16:36:52.000Z","modified":"2026-06-17T04:43:04.873Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"2.0.9.1, 2.1.4.1, 2.2.3.1","status":"affected"}],"product":"https://github.com/rack/rack","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.2","status":"affected","fixed":"2.0.9.1"}],"ecosystem":"RubyGems","package":"rack","purl":"pkg:gem/rack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1","status":"affected","fixed":"2.1.4.1"}],"ecosystem":"RubyGems","package":"rack","purl":"pkg:gem/rack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.3.1"}],"ecosystem":"RubyGems","package":"rack","purl":"pkg:gem/rack","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.2","fixed":"2.0.9.1"},{"status":"affected","introduced":"2.1.0","fixed":"2.1.4.1"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.3.1"}],"vendor":"rack_project","product":"rack","cpe":"cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2022-30122-denial-of-service-vulnerability-in-rack-multipart-parsing/80729","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5530","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.gentoo.org/glsa/202310-18","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20231208-0012/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30122","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rack/rack","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30122.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/g/ruby-security-ann/c/L2Axto442qk","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20231208-0012","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2023-12-13T16:09:46.798Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30122","url":"https://www.cve.org/CVERecord?id=CVE-2022-30122","licence":"CVE Terms of Use","modified":"2024-11-19T20:16:22.716Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hxqx-xwvh-44m2","url":"https://github.com/advisories/GHSA-hxqx-xwvh-44m2","licence":"CC-BY-4.0","modified":"2024-02-18T05:27:39.361Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30122","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30122","licence":"Public domain","modified":"2026-06-17T04:43:04.873Z"}],"updatedAt":"2026-11-25T22:58:17.232Z","epss":{"score":0.02081,"percentile":0.82067,"date":"2026-12-01T12:00:22.000Z"}}