Vulnerability advisory

CVE-2024-28103

Action Pack is missing security headers on non-HTML responses

Published Updated OSV record ↗

Also known as BIT-rails-2024-28103GHSA-fwhr-88qx-h9g7

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/rails/rails ↗
914caca2d31bd753f47f9168f2a375921d9e91cc to before e39361ab9062e23dcef5aeaf376fc48b106da66be39361ab9062e23dcef5aeaf376fc48b106da66b
984c3ef2775781d47efa9f541ce570daa2434a80 to before ec7f25368dff972b014fad4294c62181fb26c584ec7f25368dff972b014fad4294c62181fb26c584
d39db5d1891f7509cde2efc425c9d69bbb77e670 to before 19eebf6d33dd15a0172e3ed2481bec57a89a240419eebf6d33dd15a0172e3ed2481bec57a89a2404
9098f535b2accef27c6c284dede119c936c44595 to before 35858f1d9d57f6c4050a8d9ab754bd5d088b452335858f1d9d57f6c4050a8d9ab754bd5d088b4523
Also listed as affected (34)
  • 7.2.0-beta1
  • v7.1.3.3
  • v7.0.8.3
  • v6.1.7.7
  • v7.0.8.2
  • v7.1.3.2
  • v7.0.8.1
  • v7.1.3.1
  • v6.1.7.6
  • v7.0.8
  • v7.1.3
  • v7.1.2
  • v7.1.1
  • v7.1.0
  • v6.1.7.5
  • v6.1.7.4
  • v7.0.7
  • v7.0.6
  • v6.1.7.3
  • v7.0.5
  • v6.1.7.2
  • v6.1.7.1
  • v6.1.7
  • v7.0.4
  • v7.0.3
  • v6.1.5
  • v7.0.2
  • v7.0.1
  • v7.0.0
  • v6.1.4
  • v6.1.3
  • v6.1.2
  • v6.1.1
  • v6.1.0

Description

Action Pack is a framework for handling and responding to web requests. Since 6.1.0, the application configurable Permissions-Policy is only served on responses with an HTML related Content-Type. This vulnerability is fixed in 6.1.7.8, 7.0.8.2, and 7.1.3.3.

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