puma
Affected
- introduced
5.0.0, fixed5.6.4(ecosystem)
Fixed versions
5.6.4
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2022-24790
Puma vulnerable to HTTP Request Smuggling
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 following vulnerabilities are addressed by this advisory:
Transfer-Encoding headers, when unsupported encodings should be rejected and the final encoding must be chunked.Content-Length headers and chunk sizes, when only digits and hex digits should be allowed.Content-Length headers, when they should be rejected.\r\n.The vulnerability has been fixed in 5.6.4 and 4.3.12. When deploying a proxy in front of Puma, turning on any and all functionality to make sure that the request matches the RFC7230 standard.
These proxy servers are known to have "good" behavior re: this standard and upgrading Puma may not be necessary. Users are encouraged to validate for themselves.
Critical Basis: The source's own band: CRITICAL
5.0.0, fixed 5.6.4 (ecosystem)5.6.4
The export has no generic command for this ecosystem.
0, fixed 4.3.12 (ecosystem)4.3.12
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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0