CVE-2020-8130: Command Injection

Published Feb 24, 2020
·
Updated

Last updated 25 August 2025

Other sources

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

Launchpad

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

Affected Software

12 affected componentsFixes available
rubygems/rake<=12.3.2
12.3.3
redhat/rake<12.3.3
12.3.3
ruby-lang Rake<12.3.3
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
Debian Debian Linux=8.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
openSUSE Leap=15.1
Microsoft azl3 ruby 3.3.5-5
debian/rake
13.0.3-113.0.6-313.2.1-113.4.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/rake to a version that resolves this vulnerability.

    Fixed in 12.3.3
  2. Upgrade

    Upgrade redhat/rake to a version that resolves this vulnerability.

    Fixed in 12.3.3
  3. Upgrade

    Upgrade debian/rake to a version that resolves this vulnerability.

    Fixed in 13.0.3-1Fixed in 13.0.6-3Fixed in 13.2.1-1Fixed in 13.4.2-1
  4. Upgrade

    Upgrade ruby/rake to a version that resolves this vulnerability.

    Fixed in 12.3.3
  5. Compensating control

    Mitigate the OS command injection by ensuring untrusted filenames supplied to Ruby Rake::FileList do not begin with the pipe character `|`.

Event History

Feb 24, 2020
CVE Published
via MITRE·02:41 PM
Data Sourced
via MITRE·02:41 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 28, 2020
Advisory Published
04:54 PM
Sep 15, 2025
Data Sourced
via Ubuntu·04:33 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·04:35 AM
Description
Oct 12, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
DescriptionSeverity
Apr 20, 2026
Data Sourced
via Debian·09:01 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2020-8130.

2

What is the affected software?

The affected software is Ruby Rake before version 12.3.3.

3

What is the severity of CVE-2020-8130?

The severity of CVE-2020-8130 is medium with a score of 6.4.

4

How does the OS command injection vulnerability in Ruby Rake work?

The OS command injection vulnerability in Ruby Rake occurs when supplying a filename that begins with the pipe character `|` in `Rake::FileList`.

5

How can I fix the CVE-2020-8130 vulnerability?

To fix the CVE-2020-8130 vulnerability, upgrade Ruby Rake to version 12.3.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203