Loading HuntDB...

CVE-2024-54133

UNKNOWN
Published 2024-12-10T22:52:04.633Z
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2024-54133. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

Description

Action Pack is a framework for handling and responding to web requests. There is a possible Cross Site Scripting (XSS) vulnerability in the `content_security_policy` helper starting in version 5.2.0 of Action Pack and prior to versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1. Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks. Versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1 contain a fix. As a workaround, applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed LOW

Possible Content Security Policy bypass in Action Dispatch

GHSA-vfm5-rmrh-j26v

Advisory Details

There is a possible Cross Site Scripting (XSS) vulnerability in the `content_security_policy` helper in Action Pack. Impact ------ Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks. Releases -------- The fixed releases are available at the normal locations. Workarounds ----------- Applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input. Credits ------- Thanks to [ryotak](https://hackerone.com/ryotak) for the report!

Affected Packages

RubyGems actionpack
ECOSYSTEM: ≥5.2.0 <7.0.8.7
RubyGems actionpack
ECOSYSTEM: ≥7.1.0 <7.1.5.1
RubyGems actionpack
ECOSYSTEM: ≥7.2.0 <7.2.2.1
RubyGems actionpack
ECOSYSTEM: ≥8.0.0 <8.0.0.1

CVSS Scoring

CVSS Score

2.5

CVSS Vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Advisory provided by GitHub Security Advisory Database. Published: December 10, 2024, Modified: March 7, 2025

References

Published: 2024-12-10T22:52:04.633Z
Last Modified: 2025-03-07T00:10:45.315Z
Copied to clipboard!