HTTP response splitting in Puma - CVE-2020-5249

 

HTTP response splitting in Puma - CVE-2020-5249

Published: March 3, 2020


Vulnerability identifier: #VU25748
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5249
CWE-ID: CWE-113
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform HTTP splitting attacks.

The vulnerability exists due to software does not corrector process CRLF character sequences in an early-hints header. A remote attacker can send specially crafted request containing CRLF sequence and make the application to send a split HTTP response.

Successful exploitation of the vulnerability may allow an attacker perform cache poisoning attack.

Note: This is related to CVE-2020-5247, which fixed this vulnerability but only for regular responses.


Affected software

Puma
Fedora
rubygem-puma

How to mitigate CVE-2020-5249

Install update from vendor's website.

Puma - addressed in versions 3.12.4, 4.3.3
rubygem-puma - addressed in versions 3.12.4-1.fc30, 3.12.4-1.fc31, 4.3.3-1.fc32

External References

Related Security Bulletins