Cross-site Scripting (XSS) The advisory has been revoked - it doesn't affect any version of package ruby-carrierwave  (opens in a new tab)


Threat Intelligence

EPSS
0.72% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RUBYCARRIERWAVE-6483808
  • published26 Mar 2024
  • disclosed29 Nov 2023

Introduced: 29 Nov 2023

CVE-2023-49090  (opens in a new tab)
CWE-79  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:13.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-carrierwave package and not the ruby-carrierwave package as distributed by Debian.

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.