CVE-2021-29509
published high CVSS 3.1 · 7.5Keepalive Connections Causing Denial Of Service in puma
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| puma | — | puma< 4.3.8 · >= 5.0.0, < 5.3.1 | Affected | Not stated | GitHub_M |
| Debian | buster | puma | Advisory build | 3.12.0-2+deb10u3 | DLA-3083-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-puma-docaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-puma-docppc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-puma-docs390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ruby2.5-rubygem-puma-docx86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-pumaaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-pumappc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-pumas390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-pumax86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-puma-docaarch64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-puma-docppc64le | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-puma-docs390x | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-puma-docx86_64 | Advisory build | 4.3.11-150000.3.6.2 | SUSE-SU-2022:1515-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-puma-5aarch64 | Advisory build | 5.6.5-1.1 | OPENSUSE-SU-2024:12592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-puma-5ppc64le | Advisory build | 5.6.5-1.1 | OPENSUSE-SU-2024:12592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-puma-5s390x | Advisory build | 5.6.5-1.1 | OPENSUSE-SU-2024:12592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-puma-5x86_64 | Advisory build | 5.6.5-1.1 | OPENSUSE-SU-2024:12592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-puma-5aarch64 | Advisory build | 5.6.5-1.7 | OPENSUSE-SU-2024:13166-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-puma-5ppc64le | Advisory build | 5.6.5-1.7 | OPENSUSE-SU-2024:13166-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-puma-5s390x | Advisory build | 5.6.5-1.7 | OPENSUSE-SU-2024:13166-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-puma-5x86_64 | Advisory build | 5.6.5-1.7 | OPENSUSE-SU-2024:13166-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-puma-5aarch64 | Advisory build | 5.6.8-1.1 | OPENSUSE-SU-2024:13721-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-puma-5ppc64le | Advisory build | 5.6.8-1.1 | OPENSUSE-SU-2024:13721-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-puma-5s390x | Advisory build | 5.6.8-1.1 | OPENSUSE-SU-2024:13721-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-puma-5x86_64 | Advisory build | 5.6.8-1.1 | OPENSUSE-SU-2024:13721-1 |
Description
Puma is a concurrent HTTP 1.1 server for Ruby/Rack applications. The fix for CVE-2019-16770 was incomplete. The original fix only protected existing connections that had already been accepted from having their requests starved by greedy persistent-connections saturating all threads in the same process. However, new connections may still be starved by greedy persistent-connections saturating all threads in all processes in the cluster. A `puma` server which received more concurrent `keep-alive` connections than the server had threads in its threadpool would service only a subset of connections, denying service to the unserved connections. This problem has been fixed in `puma` 4.3.8 and 5.3.1. Setting `queue_requests false` also fixes the issue. This is not advised when using `puma` without a reverse proxy, such as `nginx` or `apache`, because you will open yourself to slow client attacks (e.g. slowloris). The fix is very small and a git patch is available for those using unsupported versions of Puma.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| puma | puma | < 4.3.8 (affected)>= 5.0.0, < 5.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 {"CWE-400":"Uncontrolled Resource Consumption"}
References
6- https://gist.github.com/nateberkopec/4b3ea5676c0d70cbb37c82d54be25837
- https://github.com/puma/puma/security/advisories/GHSA-q28m-8xjw-8vr5
- https://github.com/puma/puma/security/policy
- [debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html
- https://rubygems.org/gems/puma
- GLSA-202208-28 https://security.gentoo.org/glsa/202208-28
Provider assertions
2GitHub_M · cna
Keepalive Connections Causing Denial Of Service in puma
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5e27b302585bec8532301450139fc8a26cf397df0efb670cc999d7b9abf7d979
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record