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.
The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Rails | Rubyonrails | 5.0.0 (including) | 5.2.6.2 (excluding) |
Rails | Rubyonrails | 6.0.0 (including) | 6.0.4.6 (excluding) |
Rails | Rubyonrails | 6.1.0 (including) | 6.1.4.6 (excluding) |
Rails | Rubyonrails | 7.0.0 (including) | 7.0.2.2 (excluding) |
Red Hat Satellite 6.11 for RHEL 7 | RedHat | tfm-rubygem-actionpack-0:6.0.4.7-1.el7sat | * |
Red Hat Satellite 6.11 for RHEL 8 | RedHat | rubygem-actionpack-0:6.0.4.7-1.el8sat | * |
Rails | Ubuntu | bionic | * |
Rails | Ubuntu | impish | * |
Rails | Ubuntu | kinetic | * |
Rails | Ubuntu | lunar | * |
Rails | Ubuntu | mantic | * |
Rails | Ubuntu | trusty | * |
Rails | Ubuntu | xenial | * |
Rails-4.0 | Ubuntu | trusty | * |
Ruby-actionpack-3.2 | Ubuntu | trusty | * |
Ruby-activemodel-3.2 | Ubuntu | trusty | * |
Ruby-activerecord-3.2 | Ubuntu | trusty | * |
Ruby-activesupport-3.2 | Ubuntu | trusty | * |
Ruby-rails-3.2 | Ubuntu | trusty | * |
Resources that may contain sensitive data include documents, packets, messages, databases, etc. While this data may be useful to an individual user or small set of users who share the resource, it may need to be removed before the resource can be shared outside of the trusted group. The process of removal is sometimes called cleansing or scrubbing. For example, a product for editing documents might not remove sensitive data such as reviewer comments or the local pathname where the document is stored. Or, a proxy might not remove an internal IP address from headers before making an outgoing request to an Internet site.