Vulnerability advisory

CVE-2022-23633

Exposure of sensitive information in Action Pack

Published Updated OSV record ↗

Also known as GHSA-wh98-p28r-vrc9

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
2efddadd6cba4e2129acedf1d402d11abcc03996 to before 46fe51b4875ba947cd3317cef420042f22aa8ffd46fe51b4875ba947cd3317cef420042f22aa8ffd
66cabeda2c46c582d19738e1318be8d59584cc5b to before 5f85a37f49227a76ec472eb74954b548060286415f85a37f49227a76ec472eb74954b54806028641
914caca2d31bd753f47f9168f2a375921d9e91cc to before 10a2c77e901eb15b486f2c72fd9997bd0e2d506c10a2c77e901eb15b486f2c72fd9997bd0e2d506c
984c3ef2775781d47efa9f541ce570daa2434a80 to before 2459c20afb508c987347f52148210d874a9af4fa2459c20afb508c987347f52148210d874a9af4fa
Not specifiedf9a2ad03943d5c2ba54e1d45f155442b519c75da
Also listed as affected (21)
  • v6.0.4.5
  • v6.1.4.5
  • v7.0.2.1
  • v7.0.2
  • v6.1.4.4
  • v6.0.4.4
  • v7.0.1
  • v7.0.0
  • v6.1.4.3
  • v6.0.4.3
  • v6.0.4.2
  • v6.1.4.2
  • v6.1.4.1
  • v6.0.4.1
  • v6.0.4
  • v6.1.4
  • v6.1.3
  • v6.1.2
  • v6.1.1
  • v6.1.0
  • v6.0.0

Description

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools