CVE-2022-23633
published 2022-02-11CVE-2022-23633: Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. In the event a response…
PriorityP432medium5.9CVSS 3.1
AVNACHPRNUINSUCHINAN
EPSS
2.23%
80.7th percentile
Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. 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.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| actionpack_project | actionpack | >= 5.0.0.0 < 5.2.6.2 | 5.2.6.2 |
| actionpack_project | actionpack | >= 6.0.0.0 < 6.0.4.6 | 6.0.4.6 |
| actionpack_project | actionpack | >= 6.1.0.0 < 6.1.4.6 | 6.1.4.6 |
| actionpack_project | actionpack | >= 7.0.0.0 < 7.0.2.2 | 7.0.2.2 |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | rails | < rails 2:6.1.4.6+dfsg-1 (bookworm) | rails 2:6.1.4.6+dfsg-1 (bookworm) |
| puma | puma | >= 0 < 4.3.11 | 4.3.11 |
| puma | puma | >= 5.0.0 < 5.6.2 | 5.6.2 |
| rails | rails | — | — |
| rails | rails | — | — |
| rails | rails | — | — |
| rails | rails | — | — |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-2+deb11u1 | 2:6.0.3.7+dfsg-2+deb11u1 |
| rubyonrails | rails | >= 0 < 2:6.1.4.6+dfsg-1 | 2:6.1.4.6+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.1.4.6+dfsg-1 | 2:6.1.4.6+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:6.1.4.6+dfsg-1 | 2:6.1.4.6+dfsg-1 |
| 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
osv5.9MEDIUM
vendor_debian7.4HIGH
vendor_redhat7.4HIGH
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.
Red Hat
rubygem-actionpack: information leak between requests
vendor_redhat·2022-02-11·CVSS 7.4
CVE-2022-23633 [HIGH] CWE-212 rubygem-actionpack: information leak between requests
rubygem-actionpack: information leak between requests
Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. 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.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.
A flaw was found in the Rack middleware package of RubyGems, where response bodies will not close under certain circumstances. This flaw allows an attacker to iterate requests to force ActionDispatch::Executor
Debian
CVE-2022-23633: rails - Action Pack is a framework for handling and responding to web requests. Under ce...
vendor_debian·2022·CVSS 7.4
CVE-2022-23633 [HIGH] CVE-2022-23633: rails - Action Pack is a framework for handling and responding to web requests. Under ce...
Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. 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.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.
Scope: local
bookworm: resolved (fixed in 2:6.1.4.6+dfsg-1)
bullseye: resolved (fixed in 2:6.0.3.7+dfsg-2+deb11u1)
forky: resolved (fixed in 2:6.1.4.6+dfsg-1)
sid: resolved (fixed in 2:6.1.4.6+dfsg-1)
trixie: resolved (fixed in 2:6.1.4.6+dfsg-1)
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
Exposure of information in Action Pack
osv·2022-02-11
CVE-2022-23633 [HIGH] Exposure of information in Action Pack
Exposure of information in Action Pack
### Impact
Under certain circumstances response bodies will not be closed, for example a [bug in a webserver](https://github.com/puma/puma/pull/2812) 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`.
Upgrading to the FIXED versions of Rails will ensure mitigation of this issue even in the context of a buggy webserver or middleware implementation.
### Patches
This has been fixed in Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2.
### Workarounds
Upgrading is highly recommended, but to work around
GHSA
Exposure of information in Action Pack
ghsa·2022-02-11
CVE-2022-23633 [HIGH] CWE-200 Exposure of information in Action Pack
Exposure of information in Action Pack
### Impact
Under certain circumstances response bodies will not be closed, for example a [bug in a webserver](https://github.com/puma/puma/pull/2812) 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`.
Upgrading to the FIXED versions of Rails will ensure mitigation of this issue even in the context of a buggy webserver or middleware implementation.
### Patches
This has been fixed in Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2.
### Workarounds
Upgrading is highly recommended, but to work around
OSV
CVE-2022-23633: Action Pack is a framework for handling and responding to web requests
osv·2022-02-11·CVSS 5.9
CVE-2022-23633 [MEDIUM] CVE-2022-23633: Action Pack is a framework for handling and responding to web requests
Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. 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.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.
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.
http://www.openwall.com/lists/oss-security/2022/02/11/5https://github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75dahttps://github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9https://lists.debian.org/debian-lts-announce/2022/09/msg00002.htmlhttps://security.netapp.com/advisory/ntap-20240119-0013/https://www.debian.org/security/2023/dsa-5372http://www.openwall.com/lists/oss-security/2022/02/11/5https://github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75dahttps://github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9https://lists.debian.org/debian-lts-announce/2022/09/msg00002.htmlhttps://security.netapp.com/advisory/ntap-20240119-0013/https://www.debian.org/security/2023/dsa-5372
2022-02-11
Published