VDB

CVE-2024-45614

CVE-2024-45614 PUBLISHED CVSS 5.4 MEDIUM

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

Reported by github_m · Published September 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
logstashWolfi8.15.2-r1
gitlab-cng-18.1Chainguard18.1.3-r2

Risk scores

CVSS 3.1
5.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
pumapuma>= 6.0.0, < 6.4.3, < 5.6.9
wolfilogstash0
chainguardgitlab-cng-18.10
chainguardlogstash0
RubyGemspuma6.0.0, 0
pumapuma0, 6.0.0
wolfigitlab-cng-18.20
chainguardruby3.2-puma0
chainguardgitlab-cng-18.20
chainguardlogstash-jre-bcfips0
wolfiruby3.2-puma0
wolfigitlab-cng-18.10

Timeline

  • Sep 19, 2024 CVE Published
  • Sep 20, 2024 EPSS Score (30 in total, the first dated here)
  • Sep 20, 2024 PoC Published (2 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (30 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Jan 5, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-45614
vulnetix vdb fixes CVE-2024-45614

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45614/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›