A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Carrierwave Project carrierwave
Weakness type
References
- github.com /carrierwaveuploader/carrierwave/commit/39b282db5c1303899b3…
- github.com /carrierwaveuploader/carrierwave/commit/863d425c76eba12c329…
- github.com /carrierwaveuploader/carrierwave/security/advisories/GHSA-g…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning