Skip to content
OpenAdvisories
High · 8.8 Scanner template Public exploit CVE-2020-8163 BIT-rails-2020-8163EUVD-2020-0551GHSA-cr3x-7m39-c6jq

Remote code execution via user-provided local names in ActionView

Published Jul 2, 2020 · Updated Aug 4, 2024 · Assigned by hackerone

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 products

VendorProductAffectedFixed
— https://github.com/rails/rails Fixed in 4.2.11.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:5.2.0+dfsg-2 —
Debian 13 rails 2:5.2.0+dfsg-2 —
Debian 12 rails 2:5.2.0+dfsg-2 —
Debian 9 rails 2:4.2.7.1-1+deb9u3 DLA-2282-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 9 rubygem-actionview-4_2 4.2.9-9.9.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud Crowbar 9 rubygem-activesupport-4_2 4.2.9-7.6.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud Crowbar 8 rubygem-actionview-4_2 4.2.9-9.9.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud Crowbar 8 rubygem-activesupport-4_2 4.2.9-7.6.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud 7 rubygem-actionview-4_2 4.2.9-9.9.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud 7 rubygem-activesupport-4_2 4.2.9-7.6.1 SUSE-SU-2020:2140-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 6 rubygem-actionview-4_2 4.2.9-9.9.1 SUSE-SU-2020:2140-1
SUSE OpenStack Cloud 6 rubygem-activesupport-4_2 4.2.9-7.6.1 SUSE-SU-2020:2140-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionview < 4.2.11.3 4.2.11.3 GHSA-cr3x-7m39-c6jq

Advisories 2

References