CVE-2020-8163
8.8high
Remote code execution via user-provided local names in ActionView
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 82.5% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- GHSA-cr3x-7m39-c6jqBIT-RAILS-2020-8163
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/rails/rails | Fixed in 4.2.11.2 | CVE List |
| actionview (RubyGems) | before 4.2.11.3 | GitHub Advisory Database |
| rubyonrails rails | before 5.0.1 | NVD |
| debian debian_linux | 9.0 | NVD |
| rails (Bitnami) | before 5.0.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
The is a code injection vulnerability in versions of Rails prior to 5.0.1 that would allow an attacker who controlled the locals argument of a render call to perform a RCE.
NVD (es)
Se trata de una vulnerabilidad de inyección de código en versiones de Rails anteriores a 5.0.1, que permitiría a un atacante que controlara el argumento "locals" de una llamada "render" para realizar un RCE
References
| https://hackerone.com/reports/304805 | permissions-required, third-party-advisory, web | |
| https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0 | mailing-list, patch, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html | mailing-list, third-party-advisory, web | |
| http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html | exploit, third-party-advisory, vdb-entry, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-8163 | advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-8163 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cr3x-7m39-c6jq changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2020-8163 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RAILS-2020-8163 changed 2025-04-03 | Apache-2.0 |