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

CVE-2022-44572: Inefficient Regular Expression Complexity

February 9, 2023 (updated December 8, 2023)

A denial of service vulnerability in the multipart parsing component of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1 and 3.0.0.1 could allow an attacker tocraft input that can cause RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.

References

  • github.com/advisories/GHSA-rqv2-275x-2jq5
  • github.com/rack/rack/releases/tag/v3.0.4.1
  • hackerone.com/reports/1639882
  • nvd.nist.gov/vuln/detail/CVE-2022-44572

Code Behaviors & Features

Detect and mitigate CVE-2022-44572 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 before 2.0.9.2, all versions starting from 2.1.0 before 2.1.4.2, all versions starting from 2.2.0 before 2.2.4.1

Fixed versions

  • 2.0.9.2
  • 2.1.4.2
  • 2.2.5

Solution

Upgrade to versions 2.0.9.2, 2.1.4.2, 2.2.5 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-44572.yml

Spotted a mistake? Edit the file on GitLab.

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

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