SCA: security update for carrierwave (GHSA-gxhx-g4fq-49hj)

medium Tenable Cloud Security Plugin ID 415380

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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)

See Also

https://github.com/advisories/GHSA-gxhx-g4fq-49hj

Plugin Details

Severity: Medium

ID: 415380

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2023-49090

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/29/2023

Vulnerability Publication Date: 11/29/2023

Reference Information

CVE: CVE-2023-49090

cwe: CWE-79