{"id":"CVE-2020-8163","aliases":["CVE-2020-8163","GHSA-cr3x-7m39-c6jq","BIT-RAILS-2020-8163"],"related":[],"kind":"vulnerability","state":"published","title":"Remote code execution via user-provided local names in ActionView","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2020-07-02T18:35:12.000Z","modified":"2026-06-17T03:25:58.177Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"Fixed in 4.2.11.2","status":"affected"}],"product":"https://github.com/rails/rails","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.11.3"}],"ecosystem":"RubyGems","package":"actionview","purl":"pkg:gem/actionview","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.1"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.0.1"}],"ecosystem":"Bitnami","package":"rails","purl":"pkg:bitnami/rails","source":"bitnami"}],"references":[{"url":"https://hackerone.com/reports/304805","tags":["permissions-required","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0","tags":["mailing-list","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8163","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8163","url":"https://www.cve.org/CVERecord?id=CVE-2020-8163","licence":"CVE Terms of Use","modified":"2024-08-04T09:48:25.683Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cr3x-7m39-c6jq","url":"https://github.com/advisories/GHSA-cr3x-7m39-c6jq","licence":"CC-BY-4.0","modified":"2024-02-16T08:05:45.499Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8163","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8163","licence":"Public domain","modified":"2026-06-17T03:25:58.177Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RAILS-2020-8163","url":"https://osv.dev/vulnerability/BIT-RAILS-2020-8163","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:57:53.243Z","epss":{"score":0.82465,"percentile":0.99667,"date":"2026-12-01T12:00:22.000Z"}}