Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. 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/advisories/GHSA-h99w-9q5r-gjq9
  • github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5
  • github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9

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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.3.12, all versions starting from 5.0.0 before 5.6.4

Fixed versions

  • 4.3.12
  • 5.6.4

Solution

Upgrade to versions 4.3.12, 5.6.4 or above.

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/puma/CVE-2022-24790.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:17 +0000.