Loading...
Skip to main content

CVE-2022-23633 — Exposure of information in actionpack — CVE Details

HIGH

Exposure of information in Action Pack

Published February 11, 2022Updated February 4, 2026Source: osv

Summary

### Impact Under certain circumstances response bodies will not be closed, for example a [bug in a webserver](https://github.com/puma/puma/pull/2812) or a bug in a Rack middleware. 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, especially when interacting with `ActiveSupport::CurrentAttributes`. Upgrading to the FIXED versions of Rails will ensure mitigation of this issue even in the context of a buggy webserver or middleware implementation. ### Patches This has been fixed in Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. ### Workarounds Upgrading is highly recommended, but to work around this problem the following middleware can be used: ```ruby class GuardedExecutor < ActionDispatch::Executor def call(env) ensure_completed! super end private def ensure_completed! @executor.new.complete! if @executor.active? end end # Ensure the guard is inserted before ActionDispatch::Executor Rails.application.configure do config.middleware.swap ActionDispatch::Executor, GuardedExecutor, executor end ```

Advisory Timeline

  • First published February 11, 2022 (1704 days ago).
  • Last revised February 4, 2026 — 1453 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actionpack to 6.1.4.6 or later
gem install actionpack -v 6.1.4.6
Bundler
Update actionpack to 5.2.6.2 or later
gem install actionpack -v 5.2.6.2
Bundler
Update actionpack to 7.0.2.2 or later
gem install actionpack -v 7.0.2.2
Bundler
Update actionpack to 6.0.4.6 or later
gem install actionpack -v 6.0.4.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
actionpack
rubygems
6.1.0, 6.1.1, 6.1.2, 6.1.2.1 (+9 more)6.1.4.6
actionpack
rubygems
5.0.0, 5.0.0.1, 5.0.1, 5.0.1.rc1 (+58 more)5.2.6.2
actionpack
rubygems
7.0.0, 7.0.1, 7.0.2, 7.0.2.17.0.2.2
actionpack
rubygems
6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+19 more)6.0.4.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2022-23633?
Exposure of information in Action Pack This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.4/10).
How do I check if my project is affected by CVE-2022-23633?
CVE-2022-23633 affects actionpack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-23633 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.4

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-wh98-p28r-vrc9

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies