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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.71%). Schedule for your next planned update.

Does your project use an affected actionpack version?

Paste your Gemfile.lock to check it for CVE-2022-23633 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

Summary

Impact

Under certain circumstances response bodies will not be closed, for example a bug in a webserver 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:

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 (1749 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: RubyGems (1).

PackageFixed In
actionpack RubyGems · Affected: 6.1.0, 6.1.1, 6.1.2, 6.1.2.1 (+9 more)6.1.4.6
actionpack RubyGems · Affected: 5.0.0, 5.0.0.1, 5.0.1, 5.0.1.rc1 (+58 more)5.2.6.2
actionpack RubyGems · Affected: 7.0.0, 7.0.1, 7.0.2, 7.0.2.17.0.2.2
actionpack RubyGems · Affected: 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. It has a 1.7% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.71%
EPSS percentile: 77.8

This places it in the top quartile of EPSS-scored vulnerabilities — 77.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-wh98-p28r-vrc9

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock