Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. CVE-2022-30122

CVE-2022-30122: Uncontrolled Resource Consumption

December 5, 2022 (updated December 20, 2023)

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.

References

  • discuss.rubyonrails.org/t/cve-2022-30122-denial-of-service-vulnerability-in-rack-multipart-parsing/80729
  • github.com/advisories/GHSA-hxqx-xwvh-44m2
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30122.yml
  • groups.google.com/g/ruby-security-ann/c/L2Axto442qk
  • nvd.nist.gov/vuln/detail/CVE-2022-30122

Code Behaviors & Features

Detect and mitigate CVE-2022-30122 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.2 before 2.0.9.1, all versions starting from 2.1.0 before 2.1.4.1, all versions starting from 2.2.0 before 2.2.3.1

Fixed versions

  • 2.0.9.1
  • 2.1.4.1
  • 2.2.3.1

Solution

Upgrade to versions 2.0.9.1, 2.1.4.1, 2.2.3.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

gem/rack/CVE-2022-30122.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.