{"id":"CVE-2020-8163","published":"2020-07-02T18:35:12Z","modified":"2024-08-04T09:48:25Z","title":"The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled…","vendor":null,"product":null,"tier":"core","eol":null,"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["Fixed in 4.2.11.2"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a code injection vulnerability in Rails versions prior to 5.0.1, where the locals argument of a render call is not safely handled. An attacker who can control the locals argument of a render call could achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:36Z"},"cvss":null,"epss":{"score":0.82465,"percentile":0.99663,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://hackerone.com/reports/304805","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"RubyGems","package":"actionview","vulnerableRanges":["<4.2.11.3"],"patched":["4.2.11.3"],"from":["GHSA-cr3x-7m39-c6jq"],"provenance":"source"}],"advisories":[{"id":"GHSA-cr3x-7m39-c6jq","url":"https://github.com/advisories/GHSA-cr3x-7m39-c6jq","severity":"HIGH","ecosystem":"RubyGems","package":"actionview","vulnerableRanges":["<4.2.11.3"],"patched":["4.2.11.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0551","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0551","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":48716,"url":"https://www.exploit-db.com/exploits/48716","title":"Rails 5.0.1 - Remote Code Execution","type":"webapps","platform":"ruby","date":"2020-07-26","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2020-07-26"},"pocGithub":{"count":3,"skipped":0,"earliest":"2020-06-19","earliestUrl":"https://github.com/lucasamorimca/CVE-2020-8163","repos":[{"name":"lucasamorimca/CVE-2020-8163","url":"https://github.com/lucasamorimca/CVE-2020-8163","stars":60,"created":"2020-06-19"},{"name":"h4ms1k/CVE-2020-8163","url":"https://github.com/h4ms1k/CVE-2020-8163","stars":4,"created":"2020-07-18"},{"name":"RedBinaryRabbit/CVE-2020-8163","url":"https://github.com/RedBinaryRabbit/CVE-2020-8163","stars":1,"created":"2022-03-24"}]},"nuclei":[{"id":"CVE-2020-8163","name":"Ruby on Rails <5.0.1 - Remote Code Execution","severity":"high","path":"http/cves/2020/CVE-2020-8163.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-8163.yaml"}],"first":{"date":"2020-06-19","source":"PoC-in-GitHub","url":"https://github.com/lucasamorimca/CVE-2020-8163"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2020-06-19","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2020-07-26","url":"https://github.com/lucasamorimca/CVE-2020-8163","provenance":"source"},{"date":"2020-07-02","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-8163","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9966"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 3 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2011-0446","published":"2011-02-14","fixed":"3.0.4","kev":false},{"cve":"CVE-2016-2097","published":"2016-04-07","fixed":"4.1.14.2","kev":false},{"cve":"CVE-2016-0752","published":"2016-02-16","fixed":"4.2.5.1","kev":true},{"cve":"CVE-2020-8163","published":"2020-07-02","fixed":"4.2.11.3","kev":false},{"cve":"CVE-2016-6316","published":"2016-09-07","fixed":"5.0.0.1","kev":false},{"cve":"CVE-2019-5418","published":"2019-03-27","fixed":"5.2.2.1","kev":true,"link":{"from":"CVE-2019-5418","to":"CVE-2020-8163","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionview","fromFixed":"4.2.11.1","toFixed":"4.2.11.3","daysApart":463}]}},{"cve":"CVE-2019-5419","published":"2019-03-27","fixed":"6.0.0.beta3","kev":false}],"package":"RubyGems:actionview"}}