Skip to content
Fencer Vulns
medium 6.4

CVE-2020-8130 json

OS Command Injection in Rake

published 2020-02-24 6 y ago modified 2026-06-17 4 mo ago also GHSA-jppv-gw3r-w3q8 , EUVD-2020-0305

cvss
6.4
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

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 `|`.

Patch / fix

  • rubygems rake 12.3.3
  • ruby-lang rake 12.3.3
  • rake Debian 14, Debian 13, Debian 12 12.3.3-1

debian advisories DEBIAN-CVE-2020-8130

  • rake Ubuntu 16.04 LTS 10.5.0-2ubuntu0.1
  • rake Ubuntu 18.04 LTS 12.3.1-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2020-8130

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • foreman satellite capsule 6.10, satellite 6.10 2.5.2.17-2.el7sat
  • candlepin satellite 6.10 4.0.9-1.el7sat
  • satellite satellite capsule 6.10, satellite 6.10 6.10.0-3.el7sat
  • python-ecdsa satellite capsule 6.10, satellite 6.10 0.13.3-2.el7pc
  • python-pyyaml satellite capsule 6.10, satellite 6.10 5.4.1-1.el7pc
  • python3-ecdsa satellite capsule 6.10, satellite 6.10 0.13.3-2.el7pc
  • python-aiohttp satellite capsule 6.10, satellite 6.10 3.7.4-1.el7pc
  • python-urllib3 satellite capsule 6.10, satellite 6.10 1.26.5-1.el7pc

red hat advisories RHSA-2021:4702

  • rubygem-rake SLE Module for Containers 12 10.3.2-9.7.1
  • ruby2.5 SLES for SAP 15, SLES 15-LTSS, SLE Module for Basesystem 15 SP1 +2 more 2.5.7-4.8.1

suse advisories SUSE-SU-2022:3212-1SUSE-SU-2020:0737-1

  • ruby2.5 openSUSE Leap 15.1 2.5.7-lp151.4.6.1

opensuse advisories openSUSE-SU-2020:0395-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-8130 updated cvss 0.0

rake: OS Command Injection via egrep in Rake::FileList

  • Red Hat CloudForms Management Engine 5 cfme-gemset, cfme-amazon-smartstate Red Hat Storage 3 rubygem-rake
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Satellite 6.10 satellite 6.10.0-3.el7sat Red Hat Satellite Capsule 6.10 satellite 6.10.0-3.el7sat
    fixed: vendor fix RHSA-2021:4702
  • Red Hat OpenShift Container Platform 3.11 fluentd Red Hat OpenShift Container Platform 4 openshift4/ose-logging-fluentd Red Hat Satellite 6.10 tfm 7.0-1.el7sat, gofer 2.12.5-7.el7sat, katello 4.1.1-2.el7sat, libsolv 0.7.20-1.el7pc, receptor 0.6.4-2.el7ar, libcomps 0.1.15-1.el7pc, +584 more Red Hat Satellite Capsule 6.10 tfm 7.0-1.el7sat, katello 4.1.1-2.el7sat, libsolv 0.7.20-1.el7pc, libcomps 0.1.15-1.el7pc, python-rq 1.8.1-1.el7pc, python-idna 2.10-1.el7pc, +368 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/651518 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C
GitHub 3.1 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems rake
<12.3.3
12.3.3

Affected products

  • n/a https://github.com/ruby/ruby

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.