medium6.4
CVE-2020-8130
OS Command Injection in Rake
Impact
There is an OS command injection vulnerability in Ruby Rake before 12.3.3 in `Rake::FileList` when supplying a filename that begins with the pipe character `|`.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | rake | <= 12.3.2 | 12.3.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Lang | Rake | before 12.3.3 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 19.10 |
| Debian | Debian Linux | Version 8.0 |
| Fedoraproject | Fedora | Versions 30, 31 |
| Opensuse | Leap | Version 15.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
- https://hackerone.com/reports/651518
- https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/
- https://usn.ubuntu.com/4295-1/
- https://github.com/advisories/GHSA-jppv-gw3r-w3q8
- https://nvd.nist.gov/vuln/detail/CVE-2020-8130
- https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rake/CVE-2020-8130.yml