CVE-2024-29034

CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained

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.

Category

6.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Affected: carrierwaveuploader carrierwave
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-29034?
CVE-2024-29034 has been scored as a medium severity vulnerability.
How to fix CVE-2024-29034?
To fix CVE-2024-29034, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-29034 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-29034 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-29034?
CVE-2024-29034 affects carrierwaveuploader carrierwave.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.