{"id":"CVE-2019-16770","aliases":["CVE-2019-16770","GHSA-7xx3-m584-x994"],"related":[],"kind":"vulnerability","state":"published","title":"Potential DOS attack in Puma","summary":"In Puma before versions 3.12.2 and 4.3.1, a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. If more keepalive connections to Puma are opened than there are threads available, additional connections will wait permanently if the attacker sends requests frequently enough. This vulnerability is patched in Puma 4.3.1 and 3.12.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Puma before versions 3.12.2 and 4.3.1, a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. If more keepalive connections to Puma are opened than there are threads available, additional connections will wait permanently if the attacker sends requests frequently enough. This vulnerability is patched in Puma 4.3.1 and 3.12.2.","source":"cvelist"},{"lang":"en","text":"## Keepalive thread overload/DoS\n\n### Impact\n\nA poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack.\n\nIf more keepalive connections to Puma are opened than there are threads available, additional connections will wait permanently if the attacker sends requests frequently enough.\n\n### Patches\n\nThis vulnerability is patched in Puma 4.3.1 and 3.12.2.\n\n### Workarounds\n\nReverse proxies in front of Puma could be configured to always allow less than X keepalive connections to a Puma cluster or process, where X is the number of threads configured in Puma's thread pool.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue at [puma](github.com/puma/puma).","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Puma, anterior a las versiones 3.12.2 y 4.3.1, un cliente con mal comportamiento podría utilizar solicitudes de keepalive para monopolizar el reactor de Puma y crear un ataque de denegación de servicio. Si se abren más conexiones keepalive a Puma que hilos disponibles, las conexiones adicionales esperarán permanentemente si el atacante envía solicitudes con la suficiente frecuencia. Esta vulnerabilidad está reparada en Puma 4.3.1 y 3.12.2.","source":"nvd"}],"published":"2019-12-05T19:26:37.000Z","modified":"2026-07-08T06:00:11.133Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"< 4.3.1","fixed":"4.3.1","status":"affected"}],"vendor":"puma","product":"puma","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.12.2"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.3.1"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.12.2"},{"status":"affected","introduced":"4.0.0","fixed":"4.3.1"}],"vendor":"puma","product":"puma","cpe":"cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-7xx3-m584-x994","tags":["mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16770","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-7xx3-m584-x994","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2019-16770.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16770","url":"https://www.cve.org/CVERecord?id=CVE-2019-16770","licence":"CVE Terms of Use","modified":"2024-08-05T01:24:48.578Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7xx3-m584-x994","url":"https://github.com/advisories/GHSA-7xx3-m584-x994","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:11.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16770","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16770","licence":"Public domain","modified":"2026-06-17T02:22:45.997Z"}],"updatedAt":"2026-11-25T22:57:48.459Z","epss":{"score":0.02014,"percentile":0.81468,"date":"2026-12-01T12:00:22.000Z"}}