vulnerability
Ruby on Rails Ruby on Rails: CVE-2020-8163: Improper Control of Generation of Code
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:L/Au:S/C:P/I:P/A:P) | Jul 2, 2020 | Jul 8, 2020 | May 6, 2026 |
Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
Jul 2, 2020
Added
Jul 8, 2020
Modified
May 6, 2026
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
ruby-on-rails-upgrade-latest
References
- CVE-2020-8163
- https://attackerkb.com/topics/CVE-2020-8163
- http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html
- https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0
- https://hackerone.com/reports/304805
- https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0551
- CWE-94
- EUVD-EUVD-2020-0551
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.