THREATPORT/VULNERABILITY/CVE-2021-21305
HIGH SEVERITY

CVE-2021-21305

Carrierwave vulnerability

CVSS
7.4
EPSS
12.7%
EPSS pct
96th
Exploited
No known
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.
Affected vendor
Carrierwave Project
Affected product
Carrierwave
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Weakness type (CWE)
Published
2021-02-08

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring low privileges, no user interaction. Successful exploitation leads to low impact to confidentiality, low impact to integrity, low impact to availability.

Its EPSS score of 12.7% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 96% of all scored CVEs.

Check your external exposure to CVE-2021-21305

  • Confirm whether Carrierwave Project Carrierwave is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-21305.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-21305

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-21305 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-21305?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-21305.

Start free scan

No credit card. Agentless.