CVE-2022-23634
published 2022-02-11CVE-2022-23634: 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…
PriorityP433medium5.9CVSS 3.1
AVNACHPRNUINSUCHINAN
EPSS
2.09%
79.1th percentile
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
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | puma | < puma 5.6.4-1 (bookworm) | puma 5.6.4-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| puma | puma | < 4.3.11 | 4.3.11 |
| puma | puma | — | — |
| puma | puma | >= 0 < 4.3.8-1+deb11u2 | 4.3.8-1+deb11u2 |
| puma | puma | >= 0 < 5.6.4-1 | 5.6.4-1 |
| puma | puma | >= 0 < 5.6.4-1 | 5.6.4-1 |
| puma | puma | >= 0 < 5.6.4-1 | 5.6.4-1 |
| puma | puma | >= 0 < 4.3.11 | 4.3.11 |
| puma | puma | >= 0 < 3.12.4-1ubuntu2+esm1 | 3.12.4-1ubuntu2+esm1 |
| puma | puma | >= 0 < 5.5.2-2ubuntu2+esm1 | 5.5.2-2ubuntu2+esm1 |
| puma | puma | >= 5.0.0 < 5.6.2 | 5.6.2 |
| puma | puma | >= 5.0.0 < 5.6.2 | 5.6.2 |
| rubyonrails | rails | >= 5.0.0 < 5.2.6.2 | 5.2.6.2 |
| rubyonrails | rails | >= 6.0.0 < 6.0.4.6 | 6.0.4.6 |
| rubyonrails | rails | >= 6.1.0 < 6.1.4.6 | 6.1.4.6 |
| rubyonrails | rails | >= 7.0.0 < 7.0.2.2 | 7.0.2.2 |
CVSS provenance
nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
ghsa5.9MEDIUM
osv7.5HIGH
vendor_debian8.0HIGH
vendor_redhat8.0HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Puma vulnerabilities
vendor_ubuntu·2024-03-07·CVSS 7.5
CVE-2024-21647 [HIGH] Puma vulnerabilities
Title: Puma vulnerabilities
Summary: Several security issues were fixed in Puma.
ZeddYu Lu discovered that Puma incorrectly handled parsing certain headers.
A remote attacker could possibly use this issue to perform an HTTP Request
Smuggling attack. This issue only affected Ubuntu 20.04 LTS.
(CVE-2020-11076)
It was discovered that Puma incorrectly handled parsing certain headers.
A remote attacker could possibly use this issue to perform an HTTP Request
Smuggling attack. This issue only affected Ubuntu 20.04 LTS.
(CVE-2020-11077)
Jean Boussier discovered that Puma might not always release resources
properly after handling HTTP requests. A remote attacker could possibly
use this issue to read sensitive information. (CVE-2022-23634)
It was discovered that Puma incorrectly handled certai
Red Hat
rubygem-puma: rubygem-rails: information leak between requests
vendor_redhat·2022-02-11·CVSS 8.0
CVE-2022-23634 [HIGH] CWE-359 rubygem-puma: rubygem-rails: information leak between requests
rubygem-puma: rubygem-rails: information leak between requests
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.
A flaw was found in Puma and Rails rubygems when response bodies were not closed under certain situations.
Debian
CVE-2022-23634: puma - Puma is a Ruby/Rack web server built for parallelism. Prior to `puma` version `5...
vendor_debian·2022·CVSS 8.0
CVE-2022-23634 [HIGH] CVE-2022-23634: puma - Puma is a Ruby/Rack web server built for parallelism. Prior to `puma` version `5...
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.
Scope: local
bookworm: resolved (fixed in 5.6.4-1)
bullseye: resolved (fixed in 4.3.8-1+deb11u2)
forky: resolved (fixed in 5.6.4-1)
sid: resolved (fixed in 5.6.4-1)
trixie
OSV
puma vulnerabilities
osv·2024-03-07·CVSS 7.5
CVE-2020-11076 [HIGH] puma vulnerabilities
puma vulnerabilities
ZeddYu Lu discovered that Puma incorrectly handled parsing certain headers.
A remote attacker could possibly use this issue to perform an HTTP Request
Smuggling attack. This issue only affected Ubuntu 20.04 LTS.
(CVE-2020-11076)
It was discovered that Puma incorrectly handled parsing certain headers.
A remote attacker could possibly use this issue to perform an HTTP Request
Smuggling attack. This issue only affected Ubuntu 20.04 LTS.
(CVE-2020-11077)
Jean Boussier discovered that Puma might not always release resources
properly after handling HTTP requests. A remote attacker could possibly
use this issue to read sensitive information. (CVE-2022-23634)
It was discovered that Puma incorrectly handled certain malformed headers.
A remote attacker could use this issue t
OSV
Puma used with Rails may lead to Information Exposure
osv·2022-02-11·CVSS 5.9
CVE-2022-23634 [MEDIUM] Puma used with Rails may lead to Information Exposure
Puma used with Rails may lead to Information Exposure
### Impact
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.
From Rails:
> Under certain circumstances response bodies will not be closed, for example a bug in a webserver[1] or a bug in a Rack middleware. In the event a response is not notified of a close, ActionDispatch::Executor will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests, especially when interacting with ActiveSupport::CurrentAttributes.
The combination of these two behaviors (Puma not closing the body + Rails' Execu
OSV
CVE-2022-23634: Puma is a Ruby/Rack web server built for parallelism
osv·2022-02-11·CVSS 5.9
CVE-2022-23634 [MEDIUM] CVE-2022-23634: Puma is a Ruby/Rack web server built for parallelism
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.
GHSA
Puma used with Rails may lead to Information Exposure
ghsa·2022-02-11·CVSS 5.9
CVE-2022-23634 [MEDIUM] CWE-200 Puma used with Rails may lead to Information Exposure
Puma used with Rails may lead to Information Exposure
### Impact
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.
From Rails:
> Under certain circumstances response bodies will not be closed, for example a bug in a webserver[1] or a bug in a Rack middleware. In the event a response is not notified of a close, ActionDispatch::Executor will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests, especially when interacting with ActiveSupport::CurrentAttributes.
The combination of these two behaviors (Puma not closing the body + Rails' Execu
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/advisories/GHSA-rmj8-8hhh-gv5hhttps://github.com/advisories/GHSA-wh98-p28r-vrc9https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bbhttps://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5hhttps://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1https://lists.debian.org/debian-lts-announce/2022/05/msg00034.htmlhttps://lists.debian.org/debian-lts-announce/2022/08/msg00015.htmlhttps://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://security.gentoo.org/glsa/202208-28https://www.debian.org/security/2022/dsa-5146https://github.com/advisories/GHSA-rmj8-8hhh-gv5hhttps://github.com/advisories/GHSA-wh98-p28r-vrc9https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bbhttps://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5hhttps://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1https://lists.debian.org/debian-lts-announce/2022/05/msg00034.htmlhttps://lists.debian.org/debian-lts-announce/2022/08/msg00015.htmlhttps://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://security.gentoo.org/glsa/202208-28https://www.debian.org/security/2022/dsa-5146
2022-02-11
Published