Information disclosure in Rails
CVE-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 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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.022, 82.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rails — versions >= 7.0.0.0, < 7.0.2.1, >= 6.1.0.0, < 6.1.4.5, >= 6.0.0.0, < 6.0.4.5
- Rubyonrails Rails
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
References
- github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9 (Third Party Advisory, Mitigation)
- github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75da (Patch, Third Party Advisory)
- [oss-security] 20220211 [CVE-2022-23633] Possible exposure of information vulnerability in Action Pack (mailing-list, Patch, Mailing List, Third Party Advisory, Mitigation)
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3093-1] rails security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5372 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20240119-0013/