Skip to content
Noroxi
CVE-2020-8130· NVD / CVE Program· CNA hackerone

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 c

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

MediumCVSS 6.4 · v3.1—No exploit Fix available
Published
Feb 24, 2020
Updated
Jun 16, 2026
EPSS
1.4% · 71th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
25 / 40 · 6.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.4%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
ruby-langrake
canonicalubuntu linux
debiandebian linux
fedoraprojectfedora
opensuseleap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux19.10
  • debian debian linux8.0
  • fedoraproject fedora30
  • fedoraproject fedora31
  • opensuse leap15.1
  • ruby-lang rakebefore 12.3.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

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

    • Fixed in Rake 12.3.3affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12rakebefore 12.3.3-112.3.3-1
Debian:8rakebefore 10.3.2-2+deb8u110.3.2-2+deb8u1
openSUSE:Leap 15.1ruby2.5before 2.5.7-lp151.4.6.12.5.7-lp151.4.6.1
Red Hat:satellite_capsule:6.10::el7foremanbefore 0:2.5.2.17-2.el7sat0:2.5.2.17-2.el7sat
Red Hat:satellite_capsule:6.10::el7python-aiohttpbefore 0:3.7.4-1.el7pc0:3.7.4-1.el7pc
Red Hat:satellite_capsule:6.10::el7python-ecdsabefore 0:0.13.3-2.el7pc0:0.13.3-2.el7pc
Red Hat:satellite_capsule:6.10::el7python-pyyamlbefore 0:5.4.1-1.el7pc0:5.4.1-1.el7pc
Red Hat:satellite_capsule:6.10::el7python-urllib3before 0:1.26.5-1.el7pc0:1.26.5-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-djangobefore 0:2.2.24-1.el7pc0:2.2.24-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-ecdsabefore 0:0.13.3-2.el7pc0:0.13.3-2.el7pc
Red Hat:satellite_capsule:6.10::el7python3-pyyamlbefore 0:5.4.1-1.el7pc0:5.4.1-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-urllib3before 0:1.26.5-1.el7pc0:1.26.5-1.el7pc
Red Hat:satellite_capsule:6.10::el7satellitebefore 0:6.10.0-3.el7sat0:6.10.0-3.el7sat
Red Hat:satellite_capsule:6.10::el7satellite-capsulebefore 0:6.10.0-3.el7sat0:6.10.0-3.el7sat
Red Hat:satellite_capsule:6.10::el7tfm-rubygem-nokogiribefore 0:1.11.3-2.el7sat0:1.11.3-2.el7sat
Red Hat:satellite:6.10::el7candlepinbefore 0:4.0.9-1.el7sat0:4.0.9-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-actionpackbefore 0:6.0.3.7-1.el7sat0:6.0.3.7-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-activerecord-session_storebefore 0:2.0.0-1.el7sat0:2.0.0-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-addressablebefore 0:2.8.0-1.el7sat0:2.8.0-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-pumabefore 0:5.3.2-1.el7sat0:5.3.2-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-railsbefore 0:6.0.3.7-1.el7sat0:6.0.3.7-1.el7sat
RubyGemsrakebefore 12.3.312.3.3
SUSE:Linux Enterprise Module for Basesystem 15 SP1ruby2.5before 2.5.7-4.8.12.5.7-4.8.1
SUSE:Linux Enterprise Module for Containers 12rubygem-rakebefore 10.3.2-9.7.110.3.2-9.7.1

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rake12.3.3-1 · Debian:12Package registry (OSV)
opensuse:ruby2.52.5.7-lp151.4.6.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:candlepin0:4.0.9-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:foreman0:2.5.2.17-2.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-aiohttp0:3.7.4-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-ecdsa0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-pyyaml0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python3-ecdsa0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python3-pyyaml0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:satellite0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:satellite-capsule0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-actionpack0:6.0.3.7-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-activerecord-session_store0:2.0.0-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-nokogiri0:1.11.3-2.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
RubyGems:rake12.3.3Package registry (OSV)
suse:ruby2.52.5.7-4.8.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1Package registry (OSV)
suse:rubygem-rake10.3.2-9.7.1 · SUSE:Linux Enterprise Module for Containers 12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records