puma vulnerabilities

Puma is a simple, fast, multi-threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. It's great for highly parallel Ruby implementations such as JRuby and TruffleRuby as well as as providing process worker support to support CRuby well.

Registry
RubyGems
Latest
8.1.2
License
BSD-3-Clause

14 known advisories

The latest version, 8.1.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative puma # Gemfile: '>= 8.1.2'

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

Security advisories for puma

  • HighCVE-2026-47737GHSA-2vqw-3mp8-cgmx9 Jun 2026

    Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections

    Affected
    >=8.0.0 <8.0.2 · >=5.5.0 <7.2.1
    Fixed in
    7.2.1, 8.0.2
  • HighCVE-2026-47736GHSA-qpgp-93vx-g8v88 Jun 2026

    Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion

    Affected
    >=8.0.0 <8.0.2 · >=5.5.0 <7.2.1
    Fixed in
    7.2.1, 8.0.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
  • 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

Is your puma version vulnerable?

Which of your client projects still run an old puma?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.