CVEfocus › CVE database › CVE-2024-45614

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

CVSS 5.4 MediumEPSS 0.9% (higher than 58% of CVEs)Published 2024-09-19Updated 2025-11-03Assigner: GitHub_M

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.

CWE-639

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
2Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04pumaFixed6.4.2-4ubuntu4.3UBUNTU-CVE-2024-45614
Ubuntu 22.04pumaFix pending5.5.2-2ubuntu2+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-45614
Ubuntu 20.04pumaFix pending3.12.4-1ubuntu2+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-45614
Debian 14pumaFixed6.4.3-1DEBIAN-CVE-2024-45614
Debian 13pumaFixed6.4.3-1DEBIAN-CVE-2024-45614
Debian 12pumaFixed5.6.5-3+deb12u1DEBIAN-CVE-2024-45614
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
RubyGems librarypumaFixed5.6.9GHSA-9hf4-67fc-4vf4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.