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
EPSS: 0.022 (80.9th percentile) — read the EPSS interpretation.
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.
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 Debian_linux — versions 10.0, 11.0
Weakness classification (CWE)
References
- security-advisories@github.com (Third Party Advisory, Mitigation)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (mailing-list, Patch, Mailing List, Third Party Advisory, Mitigation)
- security-advisories@github.com (mailing-list, Mailing List, Third Party Advisory)
- security-advisories@github.com (vendor-advisory, Third Party Advisory)
- security-advisories@github.com
Frequently asked questions
- What is CVE-2022-23633?
- CVE-2022-23633 is a high-severity vulnerability in Rails, classified under Information Disclosure. CVSS score: 7.4/10. Published 2022-02-11.
- How severe is CVE-2022-23633?
- High severity. CVSS v3 base score is 7.4 out of 10.