CVE-2024-28103: 
Ruby vulnerability analysis and mitigation

Overview

Action Pack, a framework for handling and responding to web requests, contains a vulnerability identified as CVE-2024-28103. Since version 6.1.0, the application configurable Permissions-Policy header was only being served on responses with HTML-related Content-Type. This security issue affects versions from 6.1.0 up to (excluding) 6.1.7.8, 7.0.0 up to (excluding) 7.0.8.4, and 7.1.0 up to (excluding) 7.1.3.4 (NVD, GitHub Advisory).

Technical details

The vulnerability stems from a limitation where the Permissions-Policy header was only being applied to HTML content types, excluding other content types that could benefit from this security header. The issue has received a CVSS v3.1 base score of 9.8 (CRITICAL) from NIST with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, while GitHub assessed it with a score of 5.4 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability affects responses with non-HTML Content-Types, which are not serving the configured Permissions-Policy. This impacts various content types that would benefit from having the Permissions-Policy enforced, such as image/svg+xml and application/xml (GitHub Advisory).

Exploitability

The vulnerability can be exploited in scenarios where non-HTML content types require Permissions-Policy headers for security enforcement. The issue is particularly concerning as it affects all responses with non-HTML Content-Types, potentially exposing them to security risks that the Permissions-Policy header was designed to prevent (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in versions 6.1.7.8, 7.0.8.4, and 7.1.3.4. Users are advised to upgrade to these patched versions. The fix involves modifying the framework to include the Permissions-Policy header on all content types, not just HTML-related ones (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

rails: 2:6.1.7.10+dfsg-1~deb12u1

Fixed

bullseye

rails

Fixed

sid

rails: 2:7.2.2.1+dfsg-1

Fixed

trixie

rails: 2:7.2.2.1+dfsg-1

Fixed

Source: This report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107715MEDIUM6.8
  • Ruby logoRuby
  • ruby-mechanize
NoYesOct 08, 2026
CVE-2026-107399MEDIUM6.8
  • Ruby logoRuby
  • mechanize
NoYesOct 08, 2026
GHSA-m252-9cgf-vx2wHIGHN/A
  • Ruby logoRuby
  • dalli
NoYesOct 06, 2026
GHSA-w39f-xq2m-4g8xMEDIUMN/A
  • Ruby logoRuby
  • dalli
NoYesOct 05, 2026
GHSA-p6pm-ch9v-44vxHIGHN/A
  • Ruby logoRuby
  • dalli
NoYesOct 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management