Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Improper Control of Generation of Code ('Code Injection') (CVE-2020-8163)

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

Ruby on Rails: Improper Control of Generation of Code ('Code Injection') (CVE-2020-8163)

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
07/02/2020
Created
07/08/2020
Added
07/08/2020
Modified
07/29/2020

Description

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.

Solution(s)

  • ruby-on-rails-upgrade-5_0_1

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

;