CVE-2024-29034

CVE-2024-29034 is a medium-severity vulnerability in Carrierwave Project Carrierwave with a CVSS 3.x base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2024-29034?
CVE-2024-29034 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-29034 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-29034?
CVE-2024-29034 affects Carrierwave Project Carrierwave. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-29034?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-29034 have an EU (EUVD) identifier?
Yes. CVE-2024-29034 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1016.
When was CVE-2024-29034 published?
CVE-2024-29034 was published on 2024-03-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Carrierwave Project Carrierwave

All CVEs affecting Carrierwave Project Carrierwave →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →