ruby/rake · Security
OS Command Injection in Rake
- GHSA ID
- GHSA-jppv-gw3r-w3q8
- CVE ID
- CVE-2020-8130
- Severity
- medium
- Published
- Updated
- CVSS
- 6.4 · CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 6.4 · CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Description
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 |.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8130 ↗
- https://github.com/ruby/rake/commit/5b8f8fc41a5d7d7d6a5d767e48464c60884d3aee ↗
- https://hackerone.com/reports/651518 ↗
- https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html ↗
- https://usn.ubuntu.com/4295-1/ ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/ ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/ ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html ↗
- https://github.com/advisories/GHSA-jppv-gw3r-w3q8 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rake/CVE-2020-8130.yml ↗