CVE
CVE-2020-8130
publishedrake: OS Command Injection via egrep in Rake::FileList
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/ruby/rubyFixed in Rake 12.3.3 | Affected | Not stated | hackerone |
| Debian | jessie | rake | Advisory build | 10.3.2-2+deb8u1 | DLA-2120-1 |
| SUSE / openSUSE | SLE-12 | ruby2.1-rubygem-rakex86_64 | Advisory build | 10.3.2-9.7.1 | SUSE-SU-2022:3212-1 |
| Ubuntu | bionic | rake | Advisory build | 12.3.1-1ubuntu0.1 | USN-4295-1 |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-rakex86_64 | Advisory build | 10.3.2-9.7.1 | SUSE-SU-2022:3212-1 |
| SUSE / openSUSE | SLE-12-SP4 | ruby2.1-rubygem-rakex86_64 | Advisory build | 10.3.2-9.7.1 | SUSE-SU-2022:3212-1 |
| SUSE / openSUSE | SLE-12-SP5 | ruby2.1-rubygem-rakex86_64 | Advisory build | 10.3.2-9.7.1 | SUSE-SU-2022:3212-1 |
| SUSE / openSUSE | SLE-15 | libruby2_5-2_5aarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
Show 47 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15 | libruby2_5-2_5ppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | libruby2_5-2_5s390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | libruby2_5-2_5x86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5aarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5ppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5s390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5x86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-develaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-develppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-devels390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-develx86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-devel-extraaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-devel-extrappc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-devel-extras390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-devel-extrax86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-stdlibaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-stdlibppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-stdlibs390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15 | ruby2.5-stdlibx86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | libruby2_5-2_5aarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | libruby2_5-2_5ppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | libruby2_5-2_5s390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | libruby2_5-2_5x86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5aarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5ppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5s390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5x86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-develaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-develppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-devels390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-develx86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-devel-extraaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-devel-extrappc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-devel-extras390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-devel-extrax86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-stdlibaarch64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-stdlibppc64le | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-stdlibs390x | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-stdlibx86_64 | Advisory build | 2.5.7-4.8.1 | SUSE-SU-2020:0737-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libruby2_5-2_5x86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5x86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-develx86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-devel-extrax86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-docx86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-doc-rinoarch | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | ruby2.5-stdlibx86_64 | Advisory build | 2.5.7-lp151.4.6.1 | OPENSUSE-SU-2020:0395-1 |
| Ubuntu | xenial | rake | Advisory build | 10.5.0-2ubuntu0.1 | USN-4295-1 |
Description
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 `|`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/ruby/ruby | Fixed in Rake 12.3.3 (affected) | hackerone · cna |
Weaknesses
1- CWE-78 OS Command Injection (CWE-78)
References
6- openSUSE-SU-2020:0395 http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
- https://hackerone.com/reports/651518
- [debian-lts-announce] 20200226 [SECURITY] [DLA 2120-1] rake security update https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html
- FEDORA-2020-dc1ae17bb5 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/
- FEDORA-2020-28e06b5f08 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/
- USN-4295-1 https://usn.ubuntu.com/4295-1/
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 921631fd66b85e200d398cacdaab7f33fc1dcb5112b82a5b811bc2754109d056
- Ingested
- 23 Sep 2026, 07:51:32 UTC
- Source record
- Official CVE record