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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | third party advisory mailing list |
https://www.oracle.com/security-alerts/cpuapr2022.html | third party advisory patch |
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://security.gentoo.org/glsa/202401-05 | vendor advisory |