CVE-2021-31799
RCETitle: Arbitrary Code Execution in RDoc
RCE
Proof Of Concept
No public PoC currently indexed for CVE-2021-31799.
CWE Category
CWE-78
Published Date
Jul 30, 2021
Modified Date
Nov 21, 2024
Exploit Status
Not Found
Score
7.0
CVSS v3.1
Exploit Probability (EPSS)
0.35%
Vulnerability Summary
CVE-2021-31799: 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.
Impacted Vendors
Reference Links
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
https://security-tracker.debian.org/tracker/CVE-2021-31799
https://security.gentoo.org/glsa/202401-05
https://security.netapp.com/advisory/ntap-20210902-0004/
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
https://security-tracker.debian.org/tracker/CVE-2021-31799
https://security.gentoo.org/glsa/202401-05
https://security.netapp.com/advisory/ntap-20210902-0004/
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
CVSS v3.1
Source Entity
[email protected]
Severity
HIGH
7.0
Attack Vector
LOCAL
Complexity
HIGH
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v3.1
Source Entity
134c704f-9b21-4f2e-91b3-4a467353bcc0
Severity
HIGH
7.0
Attack Vector
LOCAL
Complexity
HIGH
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Source Entity
[email protected]
Severity
MEDIUM
4.4
Access Vector
N/A
Authentication
N/A
RAW VECTOR
AV:L/AC:M/Au:N/C:P/I:P/A:P
Associated Attack Patterns (CAPEC)
Total: PatternsNo specific attack patterns mapped.
Likelihood
Severity
Page /
CVE-2021-31799 Exploits & PoCs (Proof Of Concept)
No public PoCs found in our database for this CVE.
MODIFIED
Vulnerability data or affected products updated.
PUBLISHED
Vulnerability first announced in NVD.
Attack Vector Matrix
Access Vector
LOCAL
Complexity
HIGH
Privileges
N/A
Interaction
NONE
CVSS Vector String
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Stack
No specific products linked.