Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-23634

HIGH 8.0EPSS 81%

Information Exposure when using Puma with Rails

Also known as GHSA-rmj8-8hhh-gv5h

Mitigation

  • Upgrade puma to one of 5.6.2, 4.3.11 (or later in the same release line).

Who should check

  • Projects that depend on RubyGems package puma (>= 5.0.0, < 5.6.2)
  • Anyone running puma >= 5.0.0, < 5.6.2; < 4.3.11

Vulnerability facts

Affected
puma >= 5.0.0, < 5.6.2
Fixed in
5.6.2, 4.3.11
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
1.94% chance of exploitation in 30 days (percentile 81, 2026-11-26)
CWE
CWE-200
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems puma>= 5.0.0, < 5.6.25.6.2, 4.3.11osv
puma>= 5.0.0, < 5.6.2; < 4.3.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-23634. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-23634.md
Affected: puma >= 5.0.0, < 5.6.2
Fixed in: 5.6.2, 4.3.11

Steps:
1. Search this machine and project for puma (RubyGems), puma: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-23634 being exploited?

There is no confirmed exploitation: CVE-2022-23634 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.94% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-23634?

High: CVSS 8.0 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-23634?

puma >= 5.0.0, < 5.6.2.

Is there a fix for CVE-2022-23634?

Yes. Fixed in 5.6.2, 4.3.11. Upgrade puma to one of 5.6.2, 4.3.11 (or later in the same release line).

How do I check if I'm affected by CVE-2022-23634?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors