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://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-31799 | Third Party Advisory |
| https://security.gentoo.org/glsa/202401-05 | |
| https://security.netapp.com/advisory/ntap-20210902-0004/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
| https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ | Patch Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-31799 | Third Party Advisory |
| https://security.gentoo.org/glsa/202401-05 | |
| https://security.netapp.com/advisory/ntap-20210902-0004/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
| https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ | Patch Vendor Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
| AND |
|
Configuration 3 (hide)
|
History
21 Nov 2024, 06:06
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html - Third Party Advisory | |
| References | () https://security-tracker.debian.org/tracker/CVE-2021-31799 - Third Party Advisory | |
| References | () https://security.gentoo.org/glsa/202401-05 - | |
| References | () https://security.netapp.com/advisory/ntap-20210902-0004/ - Third Party Advisory | |
| References | () https://www.oracle.com/security-alerts/cpuapr2022.html - Patch, Third Party Advisory | |
| References | () https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ - Patch, Vendor Advisory |
05 Jan 2024, 14:15
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-78 | |
| References |
|
10 May 2022, 18:02
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:* | |
| References | (MISC) https://www.oracle.com/security-alerts/cpuapr2022.html - Patch, Third Party Advisory |
20 Apr 2022, 00:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
18 Oct 2021, 12:56
| Type | Values Removed | Values Added |
|---|---|---|
| References | (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html - Third Party Advisory | |
| References | (CONFIRM) https://security.netapp.com/advisory/ntap-20210902-0004/ - Third Party Advisory |
13 Oct 2021, 17:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Sep 2021, 09:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
31 Aug 2021, 15:52
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:* |
26 Aug 2021, 14:13
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : 4.4
v3 : 7.0 |
06 Aug 2021, 19:13
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-77 | |
| CPE | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
|
| CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
| References | (MISC) https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ - Patch, Vendor Advisory | |
| References | (MISC) https://security-tracker.debian.org/tracker/CVE-2021-31799 - Third Party Advisory |
30 Jul 2021, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2021-07-30 14:15
Updated : 2024-11-21 06:06
NVD link : CVE-2021-31799
Mitre link : CVE-2021-31799
CVE.ORG link : CVE-2021-31799
JSON object : View
Products Affected
debian
- debian_linux
ruby-lang
- rdoc
- ruby
oracle
- jd_edwards_enterpriseone_tools
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
