Is puma 5.2 vulnerable?

RubyGems · 3 releases from 5.2.0 to 5.2.2 · latest puma is 8.1.2 · checked 18 Nov 2026

Yes: 7 known advisories

Yes. puma 5.2.2, the last 5.2 release, is affected by 7 known security advisories (2 critical, 2 high, 2 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 5.2.2

  • 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

Every puma 5.2.x release

Affected: 5.2.0 to 5.2.2. Latest puma: 8.1.2.

VersionKnown advisories
puma 5.2.2CVE-2024-45614, CVE-2024-21647, CVE-2023-40175, CVE-2022-24790, CVE-2022-23634, CVE-2021-41136, CVE-2021-29509
puma 5.2.1CVE-2024-45614, CVE-2024-21647, CVE-2023-40175, CVE-2022-24790, CVE-2022-23634, CVE-2021-41136, CVE-2021-29509
puma 5.2.0CVE-2024-45614, CVE-2024-21647, CVE-2023-40175, CVE-2022-24790, CVE-2022-23634, CVE-2021-41136, CVE-2021-29509

Which of your client projects are still on puma 5.2?

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.