Live threats

All CVEs / Rubyonrails

CVE-2022-23633Rubyonrails Rails

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Feb 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-212
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 5.0.0.0 < 5.2.6.2 5.2.6.2 gem "actionpack", ">= 5.2.6.2"
RubyGems actionpack ≥ 6.0.0.0 < 6.0.4.6 6.0.4.6 gem "actionpack", ">= 6.0.4.6"
RubyGems actionpack ≥ 6.1.0.0 < 6.1.4.6 6.1.4.6 gem "actionpack", ">= 6.1.4.6"
RubyGems actionpack ≥ 7.0.0.0 < 7.0.2.2 7.0.2.2 gem "actionpack", ">= 7.0.2.2"

Per OSV / GitHub Advisories (GHSA-wh98-p28r-vrc9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails≥ 5.0.0 < 5.2.6.2
rubyonrailsrails≥ 6.0.0 < 6.0.4.6
rubyonrailsrails≥ 6.1.0 < 6.1.4.6
rubyonrailsrails≥ 7.0.0 < 7.0.2.2
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.