CVE-2024-29034 | CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained

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.

Published: 2024-03-24 Last update: 2025-11-07 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-29034 is rated Low Risk (35/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.07%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-29034

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.27% 0.07% -0.20%
2 2025-11-18 0.07% 0.27% +0.20%
3 2025-11-07 0.07%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-29034

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 4.0 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2024-29034

GitHub Security Advisory for CVE-2024-29034

GHSA-vfmv-jfc5-pjjw · Severity: medium · Ecosystem: rubygems — CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained

OS Trackers for CVE-2024-29034

vendor priority summary link
debian unimportant CVE-2024-29034 unimportant priority: Debian including 1 source packages (ruby-carrierwave), 1 status rows across 1 suites (bookworm): resolved 1. https://security-tracker.debian.org/tracker/CVE-2024-29034
ubuntu medium CVE-2024-29034 medium priority: Ubuntu including 1 source packages (ruby-carrierwave), 9 status rows across 9 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, upstream, xenial): not-affected 7, ignored 1, released 1. https://ubuntu.com/security/CVE-2024-29034

Affected software / configurations for CVE-2024-29034

Vendor Product Version Raw CPE
carrierwave_project carrierwave < 2.2.6 cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*
carrierwave_project carrierwave >= 3.0.0, < 3.0.7 cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*

References for CVE-2024-29034

cvelogic Threat Intelligence