Improper Resource Shutdown or Release Affecting puma package, versions <3.6.0-1+deb9u2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.19% (57th 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 IDSNYK-DEBIAN9-PUMA-2400234
  • published12 Feb 2022
  • disclosed11 Feb 2022

Introduced: 11 Feb 2022

CVE-2022-23634  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade Debian:9 puma to version 3.6.0-1+deb9u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream puma package and not the puma package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

Puma is a Ruby/Rack web server built for parallelism. Prior to puma version 5.6.2, puma may not always call close on the response body. Rails, prior to version 7.0.2.2, depended on the response body being closed in order for its CurrentAttributes implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails or Puma version fixes the vulnerability.

CVSS Scores

version 3.1