CVE-2022-23633
Description
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.
How to fix
- rubyonrails rails5.2.6.2, 6.0.4.6, 6.1.4.6, 7.0.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails rails | 5.0.0 ≤ v < 5.2.6.2, 6.0.0 ≤ v < 6.0.4.6, 6.1.0 ≤ v < 6.1.4.6, 7.0.0 ≤ v < 7.0.2.2 | 5.2.6.2, 6.0.4.6, 6.1.4.6, 7.0.2.2 |
| debian debian_linux | 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.