CVE-2024-28103 Action Pack is missing security headers on non-HTML responses

Medium 5.4 Published Updated
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.

PackageAffectedFixed in
rails BitnamiFrom 6.1.06.1.8, 7.0.9, 7.1.4
actionpack RubyGemsFrom 6.1.06.1.7.8
actionpack RubyGemsFrom 6.1.06.1.7.8
actionpack RubyGemsFrom 7.0.07.0.8.4
actionpack RubyGemsFrom 7.0.07.0.8.4
actionpack RubyGemsFrom 7.1.07.1.3.4
3 more packages
actionpack RubyGemsFrom 7.1.07.1.3.4
actionpack RubyGemsFrom 7.2.0.beta17.2.0.beta2
actionpack RubyGemsFrom 7.2.0.beta17.2.0.beta2
Linux distribution packages (23)
rmt-server SUSE:Enterprise Storage 7.1All versions2.17-150300.3.37.1
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.17-150200.3.45.1
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.17-150300.3.37.1
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions2.17-150400.3.25.1
rmt-server SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions2.17-150400.3.25.1
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions2.17-150200.3.45.1
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP3All versions2.17-150300.3.37.1
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions2.17-150400.3.25.1
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP5All versions2.17-150500.3.16.1
rmt-server SUSE:Linux Enterprise Module for Public Cloud 15 SP6All versions2.17-150500.3.16.1
rmt-server SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions2.17-150500.3.16.1
rmt-server SUSE:Linux Enterprise Module for Server Applications 15 SP6All versions2.17-150500.3.16.1
rmt-server SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.17-150200.3.45.1
rmt-server SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.17-150300.3.37.1
rmt-server SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.17-150400.3.25.1
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.17-150200.3.45.1
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions2.17-150300.3.37.1
rmt-server SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions2.17-150400.3.25.1
rmt-server SUSE:Manager Proxy 4.3All versions2.17-150400.3.25.1
rmt-server SUSE:Manager Server 4.3All versions2.17-150400.3.25.1
rmt-server openSUSE:Leap 15.5All versions2.17-150500.3.16.1
rmt-server openSUSE:Leap 15.6All versions2.17-150500.3.16.1
rmt-server openSUSE:TumbleweedAll versions2.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.

All Rubyonrails Rails vulnerabilities

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.

Is CVE-2024-28103 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free