Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. actionview
  4. ›
  5. CVE-2020-8163

CVE-2020-8163: Improper Control of Generation of Code ('Code Injection')

July 2, 2020 (updated July 27, 2020)

The is a code injection vulnerability in versions of Rails that wouldallow an attacker who controlled the locals argument of a render call to perform a RCE.

References

  • packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html
  • groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0
  • hackerone.com/reports/304805
  • lists.debian.org/debian-lts-announce/2020/07/msg00013.html
  • nvd.nist.gov/vuln/detail/CVE-2020-8163

Code Behaviors & Features

Detect and mitigate CVE-2020-8163 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.0.1

Fixed versions

  • 5.0.1

Solution

Upgrade to version 5.0.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

gem/actionview/CVE-2020-8163.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.