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.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
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)
- www.openwall.com/lists/oss-security/2022/02/11/5 (mailing-list, Patch, Mailing List, Third Party Advisory, Mitigation)
- lists.debian.org/debian-lts-announce/2022/09/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2023/dsa-5372 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20240119-0013/
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.