CVE-2023-49090 - CVE House
Back to Database
Status published Medium CVE-2023-49090

CarrierWave has a content-type allowlist bypass vulnerability, possibly leading to XSS

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-49090

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

carrierwaveuploader

View all reports →

Affected Software

carrierwave
Vulnerable Versions:
>= 2.2.0, < 2.2.5, >= 3.0.0, < 3.0.5

Timeline

Official Publish: November 29th, 2023
Last Modified: October 11th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Weaknesses (CWE)