{"id":"CVE-2019-16770","published":"2019-12-05T19:35:14Z","modified":"2024-08-05T01:24:48Z","title":"Potential DOS attack in Puma","vendor":"puma","product":"puma","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02014,"percentile":0.81382,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-7xx3-m584-x994","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":16.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"puma","affectedVersions":[{"vendor":"puma","product":"puma","versions":[">= < 4.3.1, < 4.3.1"]}],"workarounds":{"items":["Reverse 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."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"puma","vulnerableRanges":["<3.12.2",">=4.0.0, <4.3.1"],"patched":["3.12.2","4.3.1"],"from":["GHSA-7xx3-m584-x994"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Puma web server's reactor handling of HTTP keepalive connections, affecting Puma versions before 3.12.2 and 4.3.1. An attacker with network access to a Puma server and no authentication or user interaction needed can open more keepalive connections than there are available threads and send requests frequently enough to leave additional connections waiting indefinitely, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:52Z"},"euvd":{"id":"EUVD-2019-0786","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-puma-cve-2019-16770","children":[{"from":"CVE-2019-16770","to":"CVE-2021-29509","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2019-16770 was incomplete.","from":"CVE.org","in":"CVE-2021-29509"}]}],"packageHistory":[{"cve":"CVE-2019-16770","published":"2019-12-05","fixed":"4.3.1","kev":false},{"cve":"CVE-2020-5247","published":"2020-02-28","fixed":"4.3.3","kev":false,"link":{"from":"CVE-2019-16770","to":"CVE-2020-5247","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"4.3.1","toFixed":"4.3.3","daysApart":85},{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"3.12.2","toFixed":"3.12.4","daysApart":85}]}},{"cve":"CVE-2020-5249","published":"2020-03-02","fixed":"4.3.3","kev":false,"link":{"from":"CVE-2019-16770","to":"CVE-2020-5249","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"4.3.1","toFixed":"4.3.3","daysApart":88},{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"3.12.2","toFixed":"3.12.4","daysApart":88}]}},{"cve":"CVE-2020-11076","published":"2020-05-22","fixed":"4.3.4","kev":false}],"package":"RubyGems:puma"}}