NA

CVE-2023-49090

Published: 29/11/2023 Updated: 05/12/2023
CVSS v3 Base Score: 6.1 | Impact Score: 2.7 | Exploitability Score: 2.8
VMScore: 0

Vulnerability Summary

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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

carrierwave project carrierwave

Vendor Advisories

Debian Bug report logs - #1068150 ruby-carrierwave: CVE-2023-49090 Package: src:ruby-carrierwave; Maintainer for src:ruby-carrierwave is Debian Ruby Team <pkg-ruby-extras-maintainers@listsaliothdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Sun, 31 Mar 2024 20:15:02 UTC Severity: important ...