CVE details
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.
Matched ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| www/rubygem-carrierwave-gitlab | rubygem-carrierwave-gitlab | 1.3.4 | unaddressed | mfechner@FreeBSD.org |
| www/rubygem-carrierwave1 | rubygem-carrierwave1 | 1.3.4_1 | unaddressed | sunpoet@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>rubygem-carrierwave-gitlab</name>
<range><lt>2.2.6</lt></range>
</package>
<package>
<name>rubygem-carrierwave1</name>
<range><lt>2.2.6</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.
</p>
</body>
</description>
<references>
<cvename>CVE-2024-29034</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2024-29034</url>
</references>
<dates>
<discovery>2024-03-24</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>