HTTP Request Smuggling Affecting puma package, versions <5.6.8 >=6.0.0, <6.4.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-PUMA-6146928
  • published 9 Jan 2024
  • disclosed 8 Jan 2024
  • credit Bartek Nowotarski

How to fix?

Upgrade puma to version 5.6.8, 6.4.2 or higher.

Overview

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

Affected versions of this package are vulnerable to HTTP Request Smuggling due to improper handling of chunked transfer encoding bodies in HTTP messages that do not limit the size of message chunk extensions. An attacker can cause uncontrolled resource consumption, potentially leading to a denial of service of the targeted server.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high
Expand this section

SUSE

5.3 medium
Expand this section

Red Hat

7.5 high