{"id":"CVE-2020-8130","aliases":["CVE-2020-8130","GHSA-jppv-gw3r-w3q8"],"related":[],"kind":"vulnerability","state":"published","title":"OS Command Injection in Rake","summary":"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 `|`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 `|`.","source":"cvelist"},{"lang":"en","text":"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 `|`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se presenta una vulnerabilidad de inyección de comandos de Sistema Operativo en Ruby Rake versiones anteriores a 12.3.3, en la función Rake::FileList cuando se suministra un nombre de archivo que comienza con el carácter de tubería \"|\".","source":"nvd"}],"published":"2020-02-24T14:41:26.000Z","modified":"2026-06-17T03:25:54.780Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"Fixed in Rake 12.3.3","status":"affected"}],"product":"https://github.com/ruby/ruby","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.3.3"}],"ecosystem":"RubyGems","package":"rake","purl":"pkg:gem/rake","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"12.3.3"}],"vendor":"ruby-lang","product":"rake","cpe":"cpe:2.3:a:ruby-lang:rake:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"19.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"30"},{"status":"affected","version":"31"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/651518","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://usn.ubuntu.com/4295-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8130","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-jppv-gw3r-w3q8","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ruby/rake","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rake/CVE-2020-8130.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4295-1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8130","url":"https://www.cve.org/CVERecord?id=CVE-2020-8130","licence":"CVE Terms of Use","modified":"2024-08-04T09:48:25.624Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jppv-gw3r-w3q8","url":"https://github.com/advisories/GHSA-jppv-gw3r-w3q8","licence":"CC-BY-4.0","modified":"2024-02-19T05:32:17.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8130","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8130","licence":"Public domain","modified":"2026-06-17T03:25:54.780Z"}],"updatedAt":"2026-11-25T22:57:50.959Z","epss":{"score":0.01359,"percentile":0.72501,"date":"2026-12-01T12:00:22.000Z"}}