CVE-2020-8163
publishedrubygem-rails: potential remote code execution of user-provided local names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/railsFixed in 4.2.11.2 | Affected | Not stated | hackerone |
| Debian | stretch | rails | Advisory build | 2:4.2.7.1-1+deb9u3 | DLA-2282-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/rails/rails | Fixed in 4.2.11.2 (affected) | hackerone · cna |
Weaknesses
1- CWE-94 Code Injection (CWE-94)
References
4- 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
- [debian-lts-announce] 20200720 [SECURITY] [DLA 2282-1] rails security update https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4b0820b7dcde87f0e37d271f7a864bde5425a83b8e6fbbb7e9808150ba6d8609
- Ingested
- 23 Sep 2026, 07:51:32 UTC
- Source record
- Official CVE record