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.
CPE | Name | Operator | Version |
---|---|---|---|
rdoc | eq | 6.0.0 | |
rdoc | eq | 6.0.1.1 | |
rdoc | eq | 4.0.0.rc.2 | |
rdoc | eq | 6.1.0.beta2 | |
rdoc | eq | 6.1.0.beta3 | |
rdoc | eq | 4.2.2 | |
rdoc | eq | 6.1.1 | |
rdoc | eq | 5.0.0.beta2 | |
rdoc | eq | 4.0.0.rc.2.1 | |
rdoc | eq | 4.2.0 |
github.com/ruby/rdoc
github.com/ruby/rdoc/commit/a7f5d6ab88632b3b482fe10611382ff73d14eed7
github.com/rubysec/ruby-advisory-db/blob/master/gems/rdoc/CVE-2021-31799.yml
lists.debian.org/debian-lts-announce/2021/10/msg00009.html
nvd.nist.gov/vuln/detail/CVE-2021-31799
security-tracker.debian.org/tracker/CVE-2021-31799
security.gentoo.org/glsa/202401-05
security.netapp.com/advisory/ntap-20210902-0004
www.oracle.com/security-alerts/cpuapr2022.html
www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc