Advisory

GHSA-68xg-gqqm-vgj8

Also known as: CVE-2023-40175

Summary

Puma HTTP Request/Response Smuggling vulnerability

Details

Impact
Prior to version 6.3.1, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling.

The following vulnerabilities are addressed by this advisory:

  • Incorrect parsing of trailing fields in chunked transfer encoding bodies
  • Parsing of blank/zero-length Content-Length headers

Patches
The vulnerability has been fixed in 6.3.1 and 5.6.7.

Workarounds
No known workarounds.

References
HTTP Request Smuggling

For more information
If you have any questions or comments about this advisory:

Open an issue in Puma
See our security policy

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-08-18 21:50 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

puma

RubyGems · All systems

Affected

  • introduced 0, fixed 5.6.7 (ecosystem)

Fixed versions

5.6.7

Fix

The export has no generic command for this ecosystem.

puma

RubyGems · All systems

Affected

  • introduced 6.0.0, fixed 6.3.1 (ecosystem)

Fixed versions

6.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences