CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
CVE details

CVE-2023-49090

CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. CarrierWave has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5.

Score
6.8 medium
Published
2023-11-29
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.5</lt></range>
      </package>
      <package>
	<name>rubygem-carrierwave1</name>
	<range><lt>2.2.5</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. CarrierWave has a Content-Type allowlist
	bypass vulnerability, possibly leading to XSS. The validation in
	`allowlisted_content_type?` determines Content-Type permissions by
	performing a partial match. If the `content_type` argument of
	`allowlisted_content_type?` is passed a value crafted by the attacker,
	Content-Types not included in the `content_type_allowlist` will be
	allowed. This issue has been patched in versions 2.2.5 and 3.0.5.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2023-49090</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2023-49090</url>
    </references>
    <dates>
      <discovery>2023-11-29</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>