CVE-2022-23634: Puma & Rails - Information Disclosure
- Cve: CVE-2022-23634
- Name: Puma & Rails - Information Disclosure
- 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.
- Impact: Potential information leakage due to response body not being closed properly, leading to data exposure.
- Remediation: Upgrade Puma to version 5.6.2 or later, and Rails to version 7.0.2.2 or later.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.02107
- Epss percentile: 0.82235
- Assignee: [email protected]
- Published at: 2022-02-11T22:15:07Z
- Age in days: 1747
- Modified at: 2026-06-17T04:30:31Z
- Patch available: yes
- References total: 11
- Products total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-23634
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| CWE-404 | Improper Resource Shutdown or Release |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| rubyonrails:rails | >= 7.0.0, < 7.0.2.2; >= 6.1.0, < 6.1.4.6; >= 6.0.0, < 6.0.4.6; >= 5.0.0, < 5.2.6.2 | /v1/products/rubyonrails/rails |
| puma:puma | >= 5.0.0, < 5.6.2; < 4.3.11 | /v1/products/puma/puma |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 37, = 36, = 35 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| puma/puma | commit, fix, package, security_advisory | yes | /v1/repositories/puma/puma |
Index
- Repositories: 47
- Repositories high signal: 9
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports