CVE-2024-28103 Action Pack is missing security headers on non-HTML responses
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-28103?
CVE-2024-28103 is a medium-severity vulnerability in Rubyonrails Rails, published on 4 Jun 2024.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-28103?
9 open source packages ship an affected version, including rails and actionpack. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rails Bitnami | From 6.1.0 | 6.1.8, 7.0.9, 7.1.4 |
actionpack RubyGems | From 6.1.0 | 6.1.7.8 |
actionpack RubyGems | From 6.1.0 | 6.1.7.8 |
actionpack RubyGems | From 7.0.0 | 7.0.8.4 |
actionpack RubyGems | From 7.0.0 | 7.0.8.4 |
actionpack RubyGems | From 7.1.0 | 7.1.3.4 |
3 more packages
actionpack RubyGems | From 7.1.0 | 7.1.3.4 |
actionpack RubyGems | From 7.2.0.beta1 | 7.2.0.beta2 |
actionpack RubyGems | From 7.2.0.beta1 | 7.2.0.beta2 |
Linux distribution packages (23)
rmt-server SUSE:Enterprise Storage 7.1 | All versions | 2.17-150300.3.37.1 |
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.17-150200.3.45.1 |
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.17-150300.3.37.1 |
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 2.17-150200.3.45.1 |
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 2.17-150300.3.37.1 |
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 2.17-150500.3.16.1 |
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | All versions | 2.17-150500.3.16.1 |
rmt-server SUSE:Linux Enterprise Module for Server Applications 15 SP5 | All versions | 2.17-150500.3.16.1 |
rmt-server SUSE:Linux Enterprise Module for Server Applications 15 SP6 | All versions | 2.17-150500.3.16.1 |
rmt-server SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.17-150200.3.45.1 |
rmt-server SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.17-150300.3.37.1 |
rmt-server SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.17-150200.3.45.1 |
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.17-150300.3.37.1 |
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Manager Proxy 4.3 | All versions | 2.17-150400.3.25.1 |
rmt-server SUSE:Manager Server 4.3 | All versions | 2.17-150400.3.25.1 |
rmt-server openSUSE:Leap 15.5 | All versions | 2.17-150500.3.16.1 |
rmt-server openSUSE:Leap 15.6 | All versions | 2.17-150500.3.16.1 |
rmt-server openSUSE:Tumbleweed | All versions | 2.18-1.1 |
Products include Rubyonrails Rails.
How do I fix CVE-2024-28103?
Upgrade rails to a fixed version for your release line: 6.1.8, 7.0.9 or 7.1.4.
Is CVE-2024-28103 being exploited?
There is no known exploitation of CVE-2024-28103 in the wild and no public exploit code.
Other vulnerabilities in Rubyonrails Rails
- CVE-2013-0277 Active Record contains deserialization of arbitrary YAML
- CVE-2017-17916 SQL injection in n/a
- CVE-2017-17917 SQL injection in n/a
- CVE-2026-33195 Rails Active Storage has possible Path Traversal in DiskService
- CVE-2024-26142 Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Sources
Also known as BIT-rails-2024-28103, DEBIAN-CVE-2024-28103, GHSA-fwhr-88qx-h9g7, OESA-2024-1708, OESA-2024-1709, OESA-2024-1710 and 6 more.