GitHub Advisoryadvisory · RubyGems
GHSA-68xg-gqqm-vgj8 Puma HTTP Request/Response Smuggling vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2023-40175
- Ecosystem
- RubyGems
- Packages
- puma
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-444
- Reviewed
- 2023-08-18
Affected packages
• RubyGems puma: < 5.6.7 → fixed in 5.6.7
• RubyGems puma: >= 6.0.0, < 6.3.1 → fixed in 6.3.1
Description
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
Related
Alias · CVE (1)
- CVE-2023-40175 Puma is a Ruby/Rack web server built for parallelism. vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-40175 advisory
- https://github.com/puma/puma/commit/690155e7d644b80eeef0a6094f9826ee41f1080a web
- https://github.com/puma/puma/commit/7405a219801dcebc0ad6e0aa108d4319ca23f662 web
- https://github.com/puma/puma/commit/ed0f2f94b56982c687452504b95d5f1fbbe3eed1 web
- https://github.com/puma/puma package
- https://github.com/puma/puma/releases/tag/v5.6.7 web
- https://github.com/puma/puma/releases/tag/v6.3.1 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2023-40175.yml web