CVE-2024-29034
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
- EPSS probability
- 0.44%
- CWE
- CWE-436, CWE-79
- Published
- 2024-03-24
- Last modified
- 2026-03-13
Affected products
- carrierwaveuploader carrierwave
- carrierwaveuploader carrierwave
Weakness type
Related vulnerabilities
- CVE-2026-88004 — Traefik entrypoint header-name sanitization bypassed via request trailers
- CVE-2026-87627 — Interpretation conflict in Safebrowsing in Google Chrome on on Mac prior to 153.0.8010.36 allowed a...
- CVE-2026-82537 — Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
- CVE-2026-81378 — Visual Studio Code Security Feature Bypass Vulnerability
- CVE-2026-85184 — @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
- CVE-2026-84394 — fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority
- CVE-2026-63435 — Mail: Email address spoofing via malformed RFC 2047 encoded-words
- CVE-2026-75931 — fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references