Remote Code Execution (RCE) Affecting carrierwave package, versions >=2.0.0.rc, <2.1.1 <1.3.2
Threat Intelligence
EPSS
0.75% (82nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-CARRIERWAVE-1070798
- published 9 Feb 2021
- disclosed 9 Feb 2021
- credit wonda-tea-coffee
Introduced: 9 Feb 2021
CVE-2021-21305 Open this link in a new tabHow to fix?
Upgrade carrierwave
to version 2.1.1, 1.3.2 or higher.
Overview
Affected versions of this package are vulnerable to Remote Code Execution (RCE). The #manipulate!
method inappropriately evals the content of mutation option (:read
/ :write
), allowing attackers to craft a string that can be executed. If an application developer supplies untrusted inputs to the option, it will lead to remote code execution (RCE).
References
CVSS Scores
version 3.1