CVE-2020-8163
HIGH 8.8CVSS 3.1Remote code execution via user-provided local names in ActionView
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.
- Published
- 2 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- BIT-rails-2020-8163GHSA-cr3x-7m39-c6jq
- Sources
- NVDJSONOSV GHSA-cr3x-7m39-c6jqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
< 5.0.1 | 5.0.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | RubyGems | actionview | < 4.2.11.3 | 4.2.11.3 |
References
- http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0 · Mailing List, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/304805 · Permissions Required, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8163 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml · WEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Jul 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2020)