CVE-2020-8163
rubygem-rails: potential remote code execution of user-provided local names
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-94
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | actionview | <4.2.11.3 | 4.2.11.34.2.11.2 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
debian 5 releases · 1 package
fixed 5
rails
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:5.2.0+dfsg-2 |
| 12 | rails | 2:5.2.0+dfsg-2 |
| 13 | rails | 2:5.2.0+dfsg-2 |
| 14 | rails | 2:5.2.0+dfsg-2 |
| 9 | rails | 2:4.2.7.1-1+deb9u3 |
echo 1 release · 1 package
fixed 1
rails
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:5.2.0+dfsg-2 |
References
- packetstormsecurity.com http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-8163
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml
- groups.google.com https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0
- groups.google.com https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0
- hackerone.com https://hackerone.com/reports/304805
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-8163
- weblog.rubyonrails.org https://weblog.rubyonrails.org/2020/5/16/rails-4-2-11-3-has-been-released
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-8163
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.