CVE-2024-45614

Header normalization allows for client to clobber proxy set headers in Puma

Description

Puma is a Ruby/Rack web server built for parallelism. In affected versions clients could clobber values set by intermediate proxies (such as X-Forwarded-For) by providing a underscore version of the same header (X-Forwarded_For). Any users relying on proxy set variables is affected. v6.4.3/v5.6.9 now discards any headers using underscores if the non-underscore version also exists. Effectively, allowing the proxy defined headers to always win. Users are advised to upgrade. Nginx has a underscores_in_headers configuration variable to discard these headers at the proxy level as a mitigation. Any users that are implicitly trusting the proxy defined headers for security should immediately cease doing so until upgraded to the fixed versions.

Categories

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.04%
Vendor Advisory github.com
Affected: puma puma
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-45614?
CVE-2024-45614 has been scored as a medium severity vulnerability.
How to fix CVE-2024-45614?
To fix CVE-2024-45614, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-45614 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-45614 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-45614?
CVE-2024-45614 affects puma puma.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.