CVE-2023-49090
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
MEDIUM
CVSS 3.1
EPSS 0.61%
描述
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.
如何修補 CVE-2023-49090
要修補 CVE-2023-49090,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 3.0.5 或更新版本
CVE-2023-49090 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0
- >= 3.0.0, < 3.0.5
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N |