CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
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.

Score
6.8 medium
Published
2024-03-24
Links
NVD · cve.org

Matched ports (2)

PortPackageVersionStatusMaintainer
www/rubygem-carrierwave-gitlabrubygem-carrierwave-gitlab1.3.4unaddressedmfechner@FreeBSD.org
www/rubygem-carrierwave1rubygem-carrierwave11.3.4_1unaddressedsunpoet@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>