Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. gitlab-puma
  4. ›
  5. CVE-2022-24790

CVE-2022-24790: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

March 30, 2022 (updated November 7, 2023)

Puma is a simple, fast, multi-threaded, parallel HTTP 1.1 server for Ruby/Rack applications. When using Puma behind a proxy that does not properly validate that the incoming HTTP request matches the RFC7230 standard, Puma and the frontend proxy may disagree on where a request starts and ends. This would allow requests to be smuggled via the front-end proxy to Puma. The vulnerability has been fixed in 5.6.4 and 4.3.12. Users are advised to upgrade as soon as possible. Workaround: when deploying a proxy in front of Puma, turning on any and all functionality to make sure that the request matches the RFC7230 standard.

References

  • github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5
  • github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9
  • nvd.nist.gov/vuln/detail/CVE-2022-24790

Code Behaviors & Features

Detect and mitigate CVE-2022-24790 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 4.3.12, all versions starting from 5.0.0 before 5.6.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

gem/gitlab-puma/CVE-2022-24790.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:58 +0000.