Vulnerability CVE-2021-31799


Published: 2021-07-30

Description:
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.

Type:

CWE-77

(Improper Neutralization of Special Elements used in a Command ('Command Injection'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Ruby-lang -> RDOC 
Ruby-lang -> RUBY 
Debian -> Debian linux 

 References:
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
https://security-tracker.debian.org/tracker/CVE-2021-31799

Copyright 2024, cxsecurity.com

 

Back to Top