Description
In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.
References (6)
Core 6
Core References
Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202401-05
Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2021-31799
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210902-0004/
Patch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html
Patch, Vendor Advisory
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
Scores
CVSS v3
7.0
EPSS
0.0035
EPSS Percentile
57.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
Status
published
Products (5)
debian/debian_linux
9.0
debian/debian_linux
10.0
oracle/jd_edwards_enterpriseone_tools
< 9.2.6.1
ruby-lang/rdoc
3.11 - 6.3.1
rubygems/rdoc
3.11 - 6.1.2.1RubyGems
Published
Jul 30, 2021
Tracked Since
Feb 18, 2026