# CVE-2024-45614: Header normalization allows for client to clobber proxy set headers in Puma

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-09-19T22:42:33.974Z
- Modified: 2026-09-10T03:50:56.027Z
- Also known as: GHSA-9hf4-67fc-4vf4
- Weaknesses: CWE-444, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- puma puma: >= 6.0.0, < 6.4.3; < 5.6.9; before 5.6.9; from 6.0.0 before 6.4.3
- puma (RubyGems): before 5.6.9; from 6.0.0 before 6.4.3

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4> (vendor-advisory, web)
- <https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers> (product, web)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45614> (advisory)
- <https://github.com/puma/puma/commit/cac3fd18cf29ed43719ff5d52d9cfec215f0a043> (web)
- <https://github.com/puma/puma/commit/f196b23be24712fb8fb16051cc124798cc84f70e> (web)
- <https://github.com/puma/puma> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-45614.yml> (web)

## Sources

- CVE List: [CVE-2024-45614](https://www.cve.org/CVERecord?id=CVE-2024-45614), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-9hf4-67fc-4vf4](https://github.com/advisories/GHSA-9hf4-67fc-4vf4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-45614](https://nvd.nist.gov/vuln/detail/CVE-2024-45614), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45614 · Whole record: https://cve.day/CVE-2024-45614.json · Rebuilt by cve.day 2026-11-25T22:58:45.639Z
