RCE in Ruby-Lang Rake
CVE-2020-8130
There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 72.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Rake
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.10
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 30, 31
- openSUSE Leap — versions 15.1
- Https://github.com/ruby/ruby — versions Fixed in Rake 12.3.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, ikedaisuke/rushcheck, m-mizutani/octovy, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/651518 (Exploit, Patch, Third Party Advisory)
- [debian-lts-announce] 20200226 [SECURITY] [DLA 2120-1] rake security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4295-1 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:0395 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2020-28e06b5f08 (vendor-advisory)
- FEDORA-2020-dc1ae17bb5 (vendor-advisory)