CVE-2021-31799
rubygem-rdoc: Command injection vulnerability in RDoc
Loading…
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 2, 2021
Updated · November 1, 2026
Description
An operating system command injection flaw was found in RDoc. Using the rdoc command to generate documentation for a malicious Ruby source code could lead to execution of arbitrary commands with the privileges of the user running rdoc.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-77 · Improper Neutralization of Special Elements used in a Command