Bug 2063149 (CVE-2022-23633) - CVE-2022-23633 rubygem-actionpack: information leak between requests
Summary: CVE-2022-23633 rubygem-actionpack: information leak between requests
Keywords:
Status: NEW
Alias: CVE-2022-23633
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2063150 2066666
Blocks: 2063151
TreeView+ depends on / blocked
 
Reported: 2022-03-11 11:34 UTC by Marian Rehak
Modified: 2022-05-31 13:46 UTC (History)
20 users (show)

Fixed In Version: rails 7.0.2.1, rails 6.1.4.5, rails 6.0.4.5, rails 5.2.6.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Rack middleware package of RubyGems, where response bodies will not close under certain circumstances. This flaw allows an attacker to iterate requests to force ActionDispatch::Executor to not close, allowing subsequent requests to leak data from ActiveSupport::CurrentAttributes.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2022-03-11 11:34:06 UTC
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.

Reference:

https://github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75da
https://github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9

Comment 1 Marian Rehak 2022-03-11 11:34:26 UTC
Created rubygem-actionpack tracking bugs for this issue:

Affects: fedora-all [bug 2063150]


Note You need to log in before you can comment on or make changes to this bug.