#VU50707 Code Injection in CarrierWave - CVE-2021-21305

 

#VU50707 Code Injection in CarrierWave - CVE-2021-21305

Published: February 15, 2021


Vulnerability identifier: #VU50707
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21305
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
CarrierWave
Software vendor:
CarrierWave

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to the #manipulate! method inappropriately evals the content of mutation option (:read/ :write). A remote authenticated attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.

External links