Vulnerability · Published Feb 11, 2022 · Assigned by GitHub_M

CVE-2022-23633Exposure of sensitive information in Action Pack

High 7.4

In plain English

A high-severity information exposure in rails from rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)2.2%top 17.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2022-23633
Debian:13rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2022-23633
Debian:14rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2022-23633
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:5498
RubyGemsactionpack7.0.2.2GHSA-wh98-p28r-vrc9
RubyGemsactionpack6.1.4.6GHSA-wh98-p28r-vrc9
RubyGemsactionpack6.0.4.6GHSA-wh98-p28r-vrc9
RubyGemsactionpack5.2.6.2GHSA-wh98-p28r-vrc9
Ubuntu:24.04:LTSrailsno fix listedUBUNTU-CVE-2022-23633
Ubuntu:25.10railsno fix listedUBUNTU-CVE-2022-23633
Ubuntu:26.04:LTSrailsno fix listedUBUNTU-CVE-2022-23633
Ubuntu:26.10railsno fix listedUBUNTU-CVE-2022-23633

Affected products (as reported)

VendorProductVersions
rails rails >= 7.0.0.0, < 7.0.2.1>= 6.1.0.0, < 6.1.4.5>= 6.0.0.0, < 6.0.4.5>= 5.0.0, < 5.2.6.1

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References