{"answers":{"affected":"3 open source packages ship an affected version, including actionview and rails. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-8163 exists.","fix":"Upgrade actionview to 4.2.11.3 or later.","what":"CVE-2020-8163 is a high-severity code injection vulnerability in Debian Debian Linux, published on 2 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8163 and fix it if it is affected.\n\nWhat it is: CVE-2020-8163 is a high-severity code injection vulnerability in Debian Debian Linux, published on 2 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-8163 exists.\n\nAffected packages and fixed versions:\n- actionview (RubyGems): affected all versions; fixed in 4.2.11.3\n- actionview (RubyGems): affected all versions; fixed in 4.2.11.3\n- rails (Bitnami): affected all versions; fixed in 5.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8163/ (Markdown: https://insights.sbomify.com/CVE-2020-8163/index.md)","id":"CVE-2020-8163","markdown":"https://insights.sbomify.com/CVE-2020-8163/index.md","name":"CVE-2020-8163","record":{"aliases":["BIT-rails-2020-8163","DEBIAN-CVE-2020-8163","GHSA-cr3x-7m39-c6jq","SUSE-SU-2020:2140-1","UBUNTU-CVE-2020-8163"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby on Rails","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code by controlling the locals argument in render calls within vulnerable Ruby on Rails versions.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"rails","vendor":"rubyonrails"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["Bitnami","RubyGems","SUSE:OpenStack Cloud 6-LTSS","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9"],"exploits":{"exploitdb":1,"first_seen":"2020-06-19","github_poc":3,"max_poc_stars":60,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-06-19T21:03:05Z","kind":"github_poc","ref":"https://github.com/lucasamorimca/CVE-2020-8163","stars":60,"title":"CVE-2020-8163 - Remote code execution of user-provided local names in Rails"},{"date":"2020-07-18T18:42:23Z","kind":"github_poc","ref":"https://github.com/h4ms1k/CVE-2020-8163","stars":4,"title":"Enviroment and exploit to rce test"},{"date":"2022-03-24T06:43:39Z","kind":"github_poc","ref":"https://github.com/RedBinaryRabbit/CVE-2020-8163","stars":1,"title":"This is a exploit code for CVE-2020-8163"},{"date":"2020-07-26","kind":"exploitdb","ref":"48716","stars":null,"title":"Rails 5.0.1 - Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-8163.yaml","stars":null,"title":"Ruby on Rails \u003c5.0.1 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Remote code execution via user-provided local names in ActionView","id":"CVE-2020-8163","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","rubyonrails:rails"],"type":"code_injection","year":"2020"},"n_packages":11,"n_references":4,"next":{"headline":"Possible Strong Parameters Bypass in ActionPack","id":"CVE-2020-8164"},"packages":[{"ecosystem":"Bitnami","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"rails","purl":"pkg:bitnami/rails","source":"BIT-rails-2020-8163"},{"ecosystem":"RubyGems","fixed":["4.2.11.3"],"introduced":["0"],"last_affected":[],"package":"actionview","purl":null,"source":"GHSA-cr3x-7m39-c6jq"},{"ecosystem":"RubyGems","fixed":["4.2.11.3"],"introduced":["0"],"last_affected":[],"package":"actionview","purl":"pkg:gem/actionview","source":"GHSA-cr3x-7m39-c6jq"},{"ecosystem":"SUSE:OpenStack Cloud 6-LTSS","fixed":["4.2.9-9.9.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_2","purl":"pkg:rpm/suse/rubygem-actionview-4_2\u0026distro=SUSE%20OpenStack%20Cloud%206-LTSS","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud 6-LTSS","fixed":["4.2.9-7.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activesupport-4_2","purl":"pkg:rpm/suse/rubygem-activesupport-4_2\u0026distro=SUSE%20OpenStack%20Cloud%206-LTSS","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["4.2.9-9.9.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_2","purl":"pkg:rpm/suse/rubygem-actionview-4_2\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["4.2.9-7.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activesupport-4_2","purl":"pkg:rpm/suse/rubygem-activesupport-4_2\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["4.2.9-9.9.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_2","purl":"pkg:rpm/suse/rubygem-actionview-4_2\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["4.2.9-7.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activesupport-4_2","purl":"pkg:rpm/suse/rubygem-activesupport-4_2\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["4.2.9-9.9.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-actionview-4_2","purl":"pkg:rpm/suse/rubygem-actionview-4_2\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2020:2140-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["4.2.9-7.6.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activesupport-4_2","purl":"pkg:rpm/suse/rubygem-activesupport-4_2\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2020:2140-1"}],"prev":{"headline":"Circumvention of file size limits in ActiveStorage","id":"CVE-2020-8162"},"products":["https://github.com/rails/rails"],"published":"2020-07-02","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by controlling the locals argument in render calls within vulnerable Ruby on Rails versions.","url":"https://insights.sbomify.com/CVE-2020-8163/"}