{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-45614","id":"CVE-2024-45614","title":"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, all","descriptionLong":"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.","published":"2024-09-19T22:42:33.974Z","updated":"2026-10-28T10:58:17.290886832Z","reserved":"2024-09-02T16:00:02.425Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["puma"],"affectedProducts":[{"vendor":"puma","product":"puma","defaultStatus":null,"versions":[{"version":">= 6.0.0, < 6.4.3","status":"affected"},{"version":"< 5.6.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"puma","purl":"pkg:gem/puma","ranges":["<5.6.9",">=6.0.0 <6.4.3"],"fixed":["5.6.9","6.4.3"],"advisory":"GHSA-9hf4-67fc-4vf4"}],"cwes":["CWE-639","CWE-444"],"aliases":["GHSA-9hf4-67fc-4vf4"],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers","tags":["x_refsource_MISC","Product","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45614.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45614","tags":["advisory"]},{"url":"https://github.com/puma/puma/commit/cac3fd18cf29ed43719ff5d52d9cfec215f0a043","tags":["web"]},{"url":"https://github.com/puma/puma/commit/f196b23be24712fb8fb16051cc124798cc84f70e","tags":["web"]},{"url":"https://github.com/puma/puma","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-45614.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0064,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-45614","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45614","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-45614","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9hf4-67fc-4vf4","ok":true,"note":"GHSA-9hf4-67fc-4vf4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-45614","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}