SecurityContext

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

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor
CWE-404Improper Resource Shutdown or Release

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bbPatch, Third Party Advisory
https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5hPatch, Third Party Advisory
https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1Mailing List, Mitigation, Patch, Third Party Advisory
https://github.com/advisories/GHSA-rmj8-8hhh-gv5hThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00034.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/08/msg00015.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202208-28Third Party Advisory
https://www.debian.org/security/2022/dsa-5146Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
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

RepositoryLink kindsIndexedUrl
puma/pumacommit, fix, package, security_advisoryyes/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