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
Link | Resource |
---|---|
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ | Patch Vendor Advisory |
https://security-tracker.debian.org/tracker/CVE-2021-31799 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210902-0004/ | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
AND |
|
Configuration 3 (hide)
|
Information
Published : 2021-07-30 07:15
Updated : 2022-05-10 11:02
NVD link : CVE-2021-31799
Mitre link : CVE-2021-31799
JSON object : View
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Products Affected
debian
- debian_linux
oracle
- jd_edwards_enterpriseone_tools
ruby-lang
- rdoc
- ruby