Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHSA SYNC: 1 brand new advisory #843

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions gems/actionpack/CVE-2024-54133.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
gem: actionpack
framework: rails
cve: 2024-54133
ghsa: vfm5-rmrh-j26v
url: https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v
title: Possible Content Security Policy bypass in Action Dispatch
date: 2024-12-10
description: |
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!
cvss_v4: 2.3
unaffected_versions:
- "< 5.2.0"
patched_versions:
- "~> 7.0.8.7"
- "~> 7.1.5.1"
- "~> 7.2.2.1"
- ">= 8.0.0.1"
related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2024-54133
- https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v
- https://github.com/advisories/GHSA-vfm5-rmrh-j26v
Loading