CVE-2020-8130Ruby-lang Rake
Medium 6.4
Follow: this CVE · Ruby-lang · Ruby-lang Rake We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.4
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- Yes
- Published
- Feb 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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 `|`.
What to do
- Apply the vendor's security update for Rake.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rake |
< 12.3.3 |
12.3.3 |
gem "rake", ">= 12.3.3" |
Per OSV / GitHub Advisories (GHSA-jppv-gw3r-w3q8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- hackerone.com Exploit Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- usn.ubuntu.com Third Party Advisory