cve/2024/CVE-2024-29034.md
2024-05-25 21:48:12 +02:00

19 lines
1.2 KiB
Markdown

### [CVE-2024-29034](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-29034)
![](https://img.shields.io/static/v1?label=Product&message=carrierwave&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%203.0.0%2C%20%3C%203.0.7%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-436%3A%20Interpretation%20Conflict&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### Description
CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. The vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas. This bypassed value can be used to cause XSS. Upgrade to 3.0.7 or 2.2.6.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds