Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Fri, 11 Feb 2022 12:39:10 -0800
From: Aaron Patterson <>
Subject: [CVE-2022-23633] Possible exposure of information vulnerability in
 Action Pack

## Impact

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

Upgrading to the FIXED versions of Rails will ensure mitigation if this
issue even in the context of a buggy webserver or middleware implementation.

## Patches

To aid users who aren't able to upgrade immediately we have provided
patches for
the two supported release series. They are in git-am format and consist of a
single changeset.

* 5.2-information-leak.patch
* 6.0-information-leak.patch
* 6.1-information-leak.patch
* 7.0-information-leak.patch

## Workarounds

Upgrading is highly recommended, but to work around this problem the
following middleware can be used:

class GuardedExecutor < ActionDispatch::Executor
  def call(env)


    def ensure_completed!! if

# Ensure the guard is inserted before ActionDispatch::Executor
Rails.application.configure do
  config.middleware.swap ActionDispatch::Executor, GuardedExecutor, executor

## Credits

Thanks to Jean Boussier for fixing this!


Content of type "text/html" skipped

Download attachment "6.1-information-leak.patch" of type "application/octet-stream" (4161 bytes)

Download attachment "6.0-information-leak.patch" of type "application/octet-stream" (4161 bytes)

Download attachment "7.0-information-leak.patch" of type "application/octet-stream" (5474 bytes)

Download attachment "5.2-information-leak.patch" of type "application/octet-stream" (4158 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.