What’s Vulnerable › Vulnerabilities

CVE-2023-40175: Inconsistent Interpretation of HTTP Requests in puma

Description

Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

How to fix

Upgrade to a fixed version: puma 5.6.7, 6.3.1; Rubygems Puma 5.6.7, 6.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-40175 or the next vulnerability affects your stack