CVE-2024-29034
published medium CVSS 3.1 · 6.8CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| carrierwaveuploader | — | carrierwave>= 3.0.0, < 3.0.7 · < 2.2.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| carrierwaveuploader | carrierwave | >= 3.0.0, < 3.0.7 (affected)< 2.2.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-436 CWE-436: Interpretation Conflict
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3GitHub_M · cna
CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e976968545d81f845a1ac42458e529fd92dce9646970f31c379edff65271dcc9
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record