CVE-2024-45614
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.
EPSS 0.80% · 74.4th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| puma | puma | 0, 0, 6.0.0 |
| RubyGems | puma | 6.0.0, 0, 6.0.0 |
Timeline
- Jan 21, 1970 Security Advisory
- Sep 19, 2024 CVE Published
- Sep 20, 2024 EPSS Score
- Sep 20, 2024 PoC Published
- Sep 29, 2024 PoC Published
- Oct 5, 2024 Coalition ESS Score
- Oct 9, 2024 EPSS Score
- Oct 29, 2024 EPSS Score
- Dec 8, 2024 EPSS Score
- Dec 27, 2024 EPSS Score
- Jan 16, 2025 EPSS Score
- Feb 4, 2025 EPSS Score
References
- https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 url
- https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers url
- https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html url
- https://nvd.nist.gov/vuln/detail/CVE-2024-45614 advisory
- https://github.com/puma/puma/commit/cac3fd18cf29ed43719ff5d52d9cfec215f0a043 url
- https://github.com/puma/puma/commit/f196b23be24712fb8fb16051cc124798cc84f70e url
- https://github.com/puma/puma package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-45614.yml url