Is puma 4.0 vulnerable?

RubyGems · 2 releases from 4.0.0 to 4.0.1 · latest puma is 8.1.2 · checked 18 Nov 2026

Yes: 12 known advisories

Yes. puma 4.0.1, the last 4.0 release, is affected by 12 known security advisories (2 critical, 3 high, 6 medium, 1 low), including CVE-2023-40175, CVE-2022-24790, CVE-2022-23634. Upgrade to 5.6.9 or later to fix all of them.

Upgrade with:bundle update --conservative puma # Gemfile: '>= 5.6.9'

Is your project on an affected puma?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting puma 4.0.1

  • MediumCVE-2024-45614GHSA-9hf4-67fc-4vf420 Sept 2024

    Puma's header normalization allows for client to clobber proxy set headers

    Affected
    <5.6.9 · >=6.0.0 <6.4.3
    Fixed in
    5.6.9, 6.4.3
  • MediumCVE-2024-21647GHSA-c2f4-cvqm-65w28 Jan 2024

    Puma HTTP Request/Response Smuggling vulnerability

    Affected
    >=6.0.0 <6.4.2 · <5.6.8
    Fixed in
    5.6.8, 6.4.2
  • CriticalCVE-2023-40175GHSA-68xg-gqqm-vgj818 Aug 2023

    Puma HTTP Request/Response Smuggling vulnerability

    Affected
    <5.6.7 · >=6.0.0 <6.3.1
    Fixed in
    5.6.7, 6.3.1
  • CriticalCVE-2022-24790GHSA-h99w-9q5r-gjq930 Mar 2022

    Puma vulnerable to HTTP Request Smuggling

    Affected
    >=5.0.0 <5.6.4 · <4.3.12
    Fixed in
    4.3.12, 5.6.4
  • HighCVE-2022-23634GHSA-rmj8-8hhh-gv5h11 Feb 2022

    Puma used with Rails may lead to Information Exposure

    Affected
    >=5.0.0 <5.6.2 · <4.3.11
    Fixed in
    4.3.11, 5.6.2
  • LowCVE-2021-41136GHSA-48w2-rm65-62xx12 Oct 2021

    Puma with proxy which forwards LF characters as line endings could allow HTTP request smuggling

    Affected
    >=5.0.0 <5.5.1 · <4.3.9
    Fixed in
    4.3.9, 5.5.1
  • HighCVE-2021-29509GHSA-q28m-8xjw-8vr518 May 2021

    Puma's Keepalive Connections Causing Denial Of Service

    Affected
    <4.3.8 · >=5.0.0 <5.3.1
    Fixed in
    4.3.8, 5.3.1
  • MediumCVE-2020-11077GHSA-w64w-qqph-5gxm22 May 2020

    HTTP Smuggling via Transfer-Encoding Header in Puma

    Affected
    <3.12.6 · >=4.0.0 <4.3.5
    Fixed in
    3.12.6, 4.3.5
  • HighCVE-2020-11076GHSA-x7jg-6pwg-fx5h22 May 2020

    HTTP Smuggling via Transfer-Encoding Header in Puma

    Affected
    <3.12.5 · >=4.0.0 <4.3.4
    Fixed in
    3.12.5, 4.3.4
  • MediumCVE-2020-5249GHSA-33vf-4xgg-9r583 Mar 2020

    HTTP Response Splitting (Early Hints) in Puma

    Affected
    <3.12.4 · >=4.0.0 <4.3.3
    Fixed in
    3.12.4, 4.3.3
  • MediumCVE-2020-5247GHSA-84j7-475p-hp8v28 Feb 2020

    HTTP Response Splitting in Puma

    Affected
    <3.12.4 · >=4.0.0 <4.3.3
    Fixed in
    3.12.4, 4.3.3
  • MediumCVE-2019-16770GHSA-7xx3-m584-x9945 Dec 2019

    A poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack

    Affected
    <3.12.2 · >=4.0.0 <4.3.1
    Fixed in
    3.12.2, 4.3.1

Every puma 4.0.x release

Affected: 4.0.0 to 4.0.1. Latest puma: 8.1.2.

VersionKnown advisories
puma 4.0.1CVE-2024-45614, CVE-2024-21647, CVE-2023-40175, CVE-2022-24790, CVE-2022-23634, CVE-2021-41136, CVE-2021-29509, CVE-2020-11077, CVE-2020-11076, CVE-2020-5249, CVE-2020-5247, CVE-2019-16770
puma 4.0.0CVE-2024-45614, CVE-2024-21647, CVE-2023-40175, CVE-2022-24790, CVE-2022-23634, CVE-2021-41136, CVE-2021-29509, CVE-2020-11077, CVE-2020-11076, CVE-2020-5249, CVE-2020-5247, CVE-2019-16770

Which of your client projects are still on puma 4.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact puma version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other puma versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.