CVE-2024-45614
Header normalization allows for client to clobber proxy set headers in Puma
Also known as GHSA-9hf4-67fc-4vf4
Mitigation
- Upgrade puma to one of 5.6.9, 6.4.3 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package puma (< 5.6.9)
- Anyone running puma >= 6.0.0, < 6.4.3; < 5.6.9
Vulnerability facts
- Affected
- puma < 5.6.9
- Fixed in
- 5.6.9, 6.4.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.90% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-639
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45614. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45614.md Affected: puma < 5.6.9 Fixed in: 5.6.9, 6.4.3 Steps: 1. Search this machine and project for puma (RubyGems), puma: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-45614 being exploited?
There is no confirmed exploitation: CVE-2024-45614 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.90% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45614?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-45614?
puma < 5.6.9.
Is there a fix for CVE-2024-45614?
Yes. Fixed in 5.6.9, 6.4.3. Upgrade puma to one of 5.6.9, 6.4.3 (or later in the same release line).
How do I check if I'm affected by CVE-2024-45614?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.