Vulnerability · Published Jul 2, 2020 · Assigned by hackerone

CVE-2020-8163

High 8.8

In plain English

A high-severity code injection in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 82.5% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)82.5%top 0.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling2Nuclei, Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rails2:5.2.0+dfsg-2DEBIAN-CVE-2020-8163
Debian:13rails2:5.2.0+dfsg-2DEBIAN-CVE-2020-8163
Debian:14rails2:5.2.0+dfsg-2DEBIAN-CVE-2020-8163
RubyGemsactionview4.2.11.3GHSA-cr3x-7m39-c6jq
Ubuntu:24.04:LTSrailsno fix listedUBUNTU-CVE-2020-8163
Ubuntu:25.10railsno fix listedUBUNTU-CVE-2020-8163
Ubuntu:26.04:LTSrailsno fix listedUBUNTU-CVE-2020-8163
Ubuntu:26.10railsno fix listedUBUNTU-CVE-2020-8163

Affected products (as reported)

VendorProductVersions
n/a https://github.com/rails/rails Fixed in 4.2.11.2

Weakness: CWE-94

References