CVEfocus › CVE database › CVE-2023-40175

CVE-2023-40175Inconsistent Interpretation of HTTP Requests in puma

CVSS 7.3 HighEPSS 1.0% (higher than 61% of CVEs)Published 2023-08-18Updated 2024-10-07Assigner: GitHub_M

Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE-444

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
3Fix pending

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.04pumaFixed5.6.5-4ubuntu2UBUNTU-CVE-2023-40175
Ubuntu 22.04pumaFix pending5.5.2-2ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40175
Ubuntu 20.04pumaFix pending3.12.4-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40175
Ubuntu 18.04pumaFix pending
Debian 14pumaFixed5.6.7-1DEBIAN-CVE-2023-40175
Debian 13pumaFixed5.6.7-1DEBIAN-CVE-2023-40175
Debian 12pumaFixed5.6.5-3+deb12u1DEBIAN-CVE-2023-40175
RubyGems librarypumaFixed5.6.7GHSA-68xg-gqqm-vgj8

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.