CVE-2020-8130
published 2020-02-24CVE-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 `|`.
PriorityP433medium6.4CVSS 3.1
AVLACHPRHUINSUCHIHAH
EPSS
1.36%
68.9th percentile
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 `|`.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | rake | < rake 12.3.3-1 (bookworm) | rake 12.3.3-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| https | github.com_ruby_ruby | — | — |
| msrc | azl3_ruby_3.3.5-5_on_azure_linux_3.0 | — | — |
| opensuse | leap | — | — |
| ruby-lang | rake | < 12.3.3 | 12.3.3 |
| ruby-lang | rake | >= 0 < 12.3.3-1 | 12.3.3-1 |
| ruby-lang | rake | >= 0 < 12.3.3-1 | 12.3.3-1 |
| ruby-lang | rake | >= 0 < 12.3.3-1 | 12.3.3-1 |
| ruby-lang | rake | >= 0 < 12.3.3-1 | 12.3.3-1 |
| ruby-lang | rake | >= 0 < 12.3.3 | 12.3.3 |
CVSS provenance
nvdv3.16.4MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv6.4MEDIUM
vendor_debian6.4MEDIUM
vendor_msrc6.4MEDIUM
vendor_redhat6.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
OS Command Injection in Rake
ghsa·2020-02-28
CVE-2020-8130 [MEDIUM] CWE-78 OS Command Injection in Rake
OS Command Injection in Rake
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 `|`.
OSV
OS Command Injection in Rake
osv·2020-02-28
CVE-2020-8130 [MEDIUM] OS Command Injection in Rake
OS Command Injection in Rake
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 `|`.
OSV
CVE-2020-8130: There is an OS command injection vulnerability in Ruby Rake < 12
osv·2020-02-24·CVSS 6.4
CVE-2020-8130 [MEDIUM] CVE-2020-8130: There is an OS command injection vulnerability in Ruby Rake < 12
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 `|`.
Ubuntu
Rake vulnerability
vendor_ubuntu·2020-03-03
CVE-2020-8130 Rake vulnerability
Title: Rake vulnerability
Summary: Rake could be made run arbitrary commands it received a specially crafted file.
It was discovered that Rake incorrectly handled certain files.
An attacker could use this issue to possibly execute arbitrary commands.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
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 `|`.
vendor_msrc·2020-02-11·CVSS 6.4
CVE-2020-8130 [MEDIUM] CWE-78 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 `|`.
There is an OS command injection vulnerability in Ruby Rake Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
hackerone: hackerone
Customer Action Required: Yes
Debian
CVE-2020-8130: rake - There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::Fi...
vendor_debian·2020·CVSS 6.4
CVE-2020-8130 [MEDIUM] CVE-2020-8130: rake - There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::Fi...
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 `|`.
Scope: local
bookworm: resolved (fixed in 12.3.3-1)
bullseye: resolved (fixed in 12.3.3-1)
forky: resolved (fixed in 12.3.3-1)
sid: resolved (fixed in 12.3.3-1)
trixie: resolved (fixed in 12.3.3-1)
Red Hat
rake: OS Command Injection via egrep in Rake::FileList
vendor_redhat·2019-08-29·CVSS 6.4
CVE-2020-8130 [MEDIUM] CWE-78 rake: OS Command Injection via egrep in Rake::FileList
rake: OS Command Injection via egrep in Rake::FileList
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 `|`.
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 `|`.
Statement: Red Hat CloudForms 5.10 and Red Hat Satellite 6 contains affected rake version, however, it is not vulnerable since it does not use `egrep` after `FileList` loads file with pipe-character, this makes OS injection practically impossible with it's existing Rakefile. Red Hat may update rake in future releases.
The version of rubygem-rake shipped with Red Hat Gluster Storage includes the vulnerable code, but the module File
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-8130 rubygem-rake: rake: OS Command Injection via egrep in Rake::FileList [fedora-all]
bugzilla·2020-03-23·CVSS 6.4
CVE-2020-8130 [MEDIUM] CVE-2020-8130 rubygem-rake: rake: OS Command Injection via egrep in Rake::FileList [fedora-all]
CVE-2020-8130 rubygem-rake: rake: OS Command Injection via egrep in Rake::FileList [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2020-8130 rake: OS Command Injection via egrep in Rake::FileList
bugzilla·2020-03-23·CVSS 6.4
CVE-2020-8130 [MEDIUM] CVE-2020-8130 rake: OS Command Injection via egrep in Rake::FileList
CVE-2020-8130 rake: OS Command Injection via egrep in Rake::FileList
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 `|`.
Upstream patch:
https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee
References:
https://hackerone.com/reports/651518
Discussion:
Created rubygem-rake tracking bugs for this issue:
Affects: fedora-all [bug 1816272]
---
External References:
https://github.com/advisories/GHSA-jppv-gw3r-w3q8
---
Statement:
Red Hat CloudForms 5.10 and Red Hat Satellite 6 contains affected rake version, however, it is not vulnerable since it does not use `egrep` after `FileList` loads file with pipe-character, this makes OS injection practically impossibl
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlhttps://hackerone.com/reports/651518https://lists.debian.org/debian-lts-announce/2020/02/msg00026.htmlhttps://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/http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlhttps://hackerone.com/reports/651518https://lists.debian.org/debian-lts-announce/2020/02/msg00026.htmlhttps://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/
2020-02-24
Published