Skip to content
OpenAdvisories
High · 7.3 CVE-2023-40175 EUVD-2023-2224GHSA-68xg-gqqm-vgj8

Inconsistent Interpretation of HTTP Requests in puma

Published Aug 18, 2023 · Updated Oct 7, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
puma puma < 5.6.7, >= 6.0.0, < 6.3.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 puma 5.6.7-1 —
Debian 13 puma 5.6.7-1 —
Debian 12 puma 5.6.5-3+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS puma 5.6.5-4ubuntu2 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS puma 5.5.2-2ubuntu2+esm1 USN-6682-1
Ubuntu Pro 20.04 LTS puma 3.12.4-1ubuntu2+esm1 USN-6682-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 mosquitto 2.0.17-1.el8sat RHSA-2024:0797
Red Hat Satellite Capsule 6 puppet-agent 7.27.0-1.el8sat RHSA-2024:0797
Red Hat Satellite Capsule 6 puppetserver 7.14.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 candlepin +1 4.3.11-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 mosquitto 2.0.17-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 puppet-agent 7.27.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 puppetserver 7.14.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 rubygem-grpc 1.58.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 rubygem-puma 6.3.1-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 rubygem-sidekiq 6.5.12-1.el8sat RHSA-2024:0797
ReleasePackageFixed inAdvisory
SLES 15 SP7 rubygem-puma 5.6.9-150600.18.3.1 SUSE-SU-2025:03467-1
SLES 15 SP6 rubygem-puma 5.6.9-150600.18.3.1 SUSE-SU-2025:03467-1
SLES 15 SP5 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2025:03466-1, SUSE-SU-2023:3957-1
SLES 15 SP4 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2025:03466-1, SUSE-SU-2023:3957-1
SLES 15 SP3 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2025:03466-1, SUSE-SU-2023:3957-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP2 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2023:3957-1
SLES 15 SP1 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2023:3957-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 rubygem-puma 5.6.9-150600.18.3.1 SUSE-SU-2025:03467-1
openSUSE Leap 15.5 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2023:3957-1
openSUSE Leap 15.4 rubygem-puma 4.3.12-150000.3.12.1 SUSE-SU-2023:3957-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems puma < 5.6.7 5.6.7 GHSA-68xg-gqqm-vgj8
RubyGems puma >= 6.0.0, < 6.3.1 6.3.1 GHSA-68xg-gqqm-vgj8

Advisories 5

References