SCA: security update for carrierwave (GHSA-cf3w-g86h-35x4)

high Tenable Self-Hosted Container Security Plugin ID 413838

Description

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

- CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby
applications. In CarrierWave before versions 1.3.2 and 2.1.1, there is a code injection vulnerability. The
"#manipulate!" method inappropriately evals the content of mutation option(:read/:write), allowing
attackers to craft a string that can be executed as a Ruby code. If an application developer supplies
untrusted inputs to the option, it will lead to remote code execution(RCE). This is fixed in versions
1.3.2 and 2.1.1. (CVE-2021-21305)

See Also

https://github.com/advisories/GHSA-cf3w-g86h-35x4

Plugin Details

Severity: High

ID: 413838

Version: Revision 1.4

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: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-21305

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/8/2021

Vulnerability Publication Date: 2/8/2021

Reference Information

CVE: CVE-2021-21305