Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-76A07F31-A860-11EB-8DDB-001B217B3468 (CVE-2021-21305): Carrierwave -- Multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-76A07F31-A860-11EB-8DDB-001B217B3468 (CVE-2021-21305): Carrierwave -- Multiple vulnerabilities

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
02/08/2021
Created
11/08/2022
Added
11/04/2022
Modified
11/04/2022

Description

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.

Solution(s)

  • freebsd-upgrade-package-rubygem-carrierwave

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;