Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-28103 — actionpack

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-20 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Missing security headers in Action Pack on non-HTML responses

# Permissions-Policy is Only Served on HTML Content-Type

The application configurable Permissions-Policy is only served on responses

with an HTML related Content-Type.

This has been assigned the CVE identifier CVE-2024-28103.

Versions Affected: >= 6.1.0

Not affected: < 6.1.0

Fixed Versions: 6.1.7.8, 7.0.8.4, and 7.1.3.4

Impact

------

Responses with a non-HTML Content-Type are not serving the configured Permissions-Policy. There are certain non-HTML Content-Types that would benefit from having the Permissions-Policy enforced.

Releases

--------

The fixed releases are available at the normal locations.

Workarounds

-----------

N/A

Patches

-------

To aid users who aren't able to upgrade immediately we have provided patches for

the supported release series in accordance with our

[maintenance policy](https://guides.rubyonrails.org/maintenance_policy.html#security-issues)

regarding security issues. They are in git-am format and consist of a

single changeset.

  • 6-1-include-permissions-policy-header-on-non-html.patch - Patch for 6.1 series
  • 7-0-include-permissions-policy-header-on-non-html.patch - Patch for 7.0 series
  • 7-1-include-permissions-policy-header-on-non-html.patch - Patch for 7.1 series

Credits

-------

Thank you [shinkbr](https://hackerone.com/shinkbr) for reporting this!

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Weakness class

CVE-2024-28103 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2024-28103 is recorded against 2 packages.

  • actionpack (from 7.2.0.beta1 up to 7.2.0.beta2)
  • rails

Timeline and source

Published on 4 June 2024 and last revised on 6 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)
security.netapp.com (Web)

Other advisories for this package

actionpack has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-20: Improper Input Validation) in other software:

CVE-2024-28103 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Critical
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2024-06-04
Updated 2026-08-20
Modified 2025-10-06
Fix URL N/A

Affected Packages

Software From version Fixed in
actionpack 7.2.0.beta1 7.2.0.beta2
rails

Similar Threats

Exploit Protection

Are you running actionpack?

CVE-2024-28103 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-28103 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024