Information Exposure when using Puma with Rails
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-23634
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 14:01 UTC · Revision 1
Source evidence
Information Exposure when using Puma with Rails
core-osv · Original sourcePublished 11 Feb 2022, 21:40 UTC
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.
osv:CVE-2022-23634
Complete source record
{
"id": "6d71fcecfbbd385feb6fa3d54d21f7e987598127b47364ce2a7b0687d03a7049",
"url": "https://osv.dev/vulnerability/CVE-2022-23634",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Information Exposure when using Puma with Rails",
"summary": "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.",
"evidence": "osv:CVE-2022-23634",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-23634",
"aliases": [
"CVE-2022-23634",
"GHSA-rmj8-8hhh-gv5h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/puma/puma",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "4ce94d7975d755f5ecdf50c5134b6d8af081e3ad"
},
{
"introduced": "13e18e8078c800adfc52af687acc1d8de5f3988d"
},
{
"fixed": "c6340d1fabcd02c4cc5c1d4effaeba393dedb1a8"
},
{
"fixed": "b70f451fe8abc0cff192c065d549778452e155bb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.3.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.6.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b70f451fe8abc0cff192c065d549778452e155bb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
},
{
"repo": "https://github.com/rails/rails",
"type": "GIT",
"events": [
{
"introduced": "2efddadd6cba4e2129acedf1d402d11abcc03996"
},
{
"fixed": "46fe51b4875ba947cd3317cef420042f22aa8ffd"
},
{
"introduced": "66cabeda2c46c582d19738e1318be8d59584cc5b"
},
{
"fixed": "5f85a37f49227a76ec472eb74954b54806028641"
},
{
"introduced": "914caca2d31bd753f47f9168f2a375921d9e91cc"
},
{
"fixed": "10a2c77e901eb15b486f2c72fd9997bd0e2d506c"
},
{
"introduced": "984c3ef2775781d47efa9f541ce570daa2434a80"
},
{
"fixed": "2459c20afb508c987347f52148210d874a9af4fa"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.2.6.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.4.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.4.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.2.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v4.3.10",
"v5.6.1",
"v5.6.0",
"v4.3.9",
"v5.5.2",
"v5.5.1",
"v4.3.8",
"v5.5.0",
"v5.4.0",
"v5.3.2",
"v5.3.1",
"v4.3.7",
"v5.3.0",
"v5.2.2",
"v5.2.1",
"v5.2.0",
"v5.1.0",
"v4.3.6",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.3.5",
"v4.3.4",
"v4.3.3",
"v4.3.2",
"v4.3.1",
"v4.3.0",
"v4.2.1",
"v4.2.0",
"v4.1.0",
"v4.0.1",
"v4.0.0",
"v3.12.0",
"v3.11.4",
"v3.11.3",
"v3.11.2",
"v3.11.1",
"v3.11.0",
"v3.10.0",
"v3.9.1",
"v3.9.0",
"v3.8.0",
"v3.7.1",
"v3.6.0",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.4.0",
"v3.3.0",
"v3.2.0",
"v3.1.1",
"v3.1.0",
"v3.0.2",
"v3.0.1",
"v3.0.0",
"v3.0.0.rc1",
"v2.16.0",
"v2.15.3",
"v2.15.2",
"v2.15.1",
"v2.15.0",
"v2.14.0",
"v2.13.4",
"v2.13.3",
"v2.13.2",
"v2.13.1",
"v2.13.0",
"v2.12.3",
"v2.12.2",
"v2.12.1",
"v2.12.0",
"v2.11.3",
"v2.11.2",
"v2.11.0",
"v2.10.2",
"v2.10.1",
"v2.10.0",
"v2.9.2",
"v2.9.1",
"v2.9.0",
"v2.8.2",
"v2.8.1",
"v2.7.1",
"v2.7.0",
"v2.6.0",
"v2.5.1",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.1",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v2.0.0.b7",
"v2.0.0.b6",
"v2.0.0.b5",
"v2.0.0.b4",
"v2.0.0.b3",
"v2.0.0.b2",
"v1.5.0",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v6.0.4.5",
"v6.1.4.5",
"v7.0.2.1",
"v7.0.2",
"v6.1.4.4",
"v6.0.4.4",
"v7.0.1",
"v7.0.0",
"v6.1.4.3",
"v6.0.4.3",
"v6.0.4.2",
"v6.1.4.2",
"v6.1.4.1",
"v6.0.4.1",
"v6.0.4",
"v6.1.4",
"v6.1.3",
"v6.1.2",
"v6.1.1",
"v6.1.0",
"v6.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23634.json"
}
}
],
"modified": "2026-10-28T02:30:35.833625632Z",
"provider": "osv",
"references": [
"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23634.json",
"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h",
"https://github.com/advisories/GHSA-wh98-p28r-vrc9",
"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h",
"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/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/",
"https://nvd.nist.gov/vuln/detail/CVE-2022-23634",
"https://security.gentoo.org/glsa/202208-28",
"https://www.debian.org/security/2022/dsa-5146",
"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb",
"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html",
"https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23634.json"
}
},
"related_cves": [
{
"value": "CVE-2022-23634",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503415,
"published_at": "2022-02-11T21:40:11+00:00"
}