Skip to content

Ruby on Rails

Action Pack is missing security headers on non-HTML responses

CVE-2024-28103Published 4 Jun 2024, 19:47 UTC

Real-world risk

1.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Ruby on RailsWidespread>= 6.1.0.0, < 6.1.7.8; >= 7.0.0.0, < 7.0.8.4; >= 7.1.0.0, < 7.1.3.4; >= 7.2.0.beta1, < 7.2.0.beta2; >= 6.1.0.0, < 6.1.786.1.7.8, 7.0.8.4, 7.1.3.4, 7.2.0.beta2, 6.1.78

What to do

Update to a fixed version: 6.1.7.8, 7.0.8.4, 7.1.3.4, 7.2.0.beta2, 6.1.78.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.7% chance of exploitation in 30 days (percentile 53), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
  4. Rounded to one decimal between 0.1 and 101.8

How the score works

Exploitation and evidence timeline

  1. 4 Jun 2024 Published
  2. 3 Dec 2026 Risk 1.8 (cvss fallback)

Weakness

CWE-20

References

Get alerts for Ruby on Rails

Free email or text alerts when a vulnerability in Ruby on Rails reaches risk 8 or higher. Nothing else.