7 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.4 Medium
CVSS2
Access Vector
LOCAL
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:M/Au:N/C:P/I:P/A:P
0.001 Low
EPSS
Percentile
27.6%
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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 16.04 | noarch | ruby2.3 | < 2.3.1-2~ubuntu16.04.16+esm1) Available with Ubuntu Pro or Ubuntu Pro (Infra-only | UNKNOWN |
ubuntu | 18.04 | noarch | ruby2.5 | < 2.5.1-1ubuntu1.10 | UNKNOWN |
ubuntu | 20.04 | noarch | ruby2.7 | < 2.7.0-5ubuntu1.5 | UNKNOWN |
ubuntu | 20.10 | noarch | ruby2.7 | < 2.7.1-3ubuntu1.4 | UNKNOWN |
ubuntu | 21.04 | noarch | ruby2.7 | < 2.7.2-4ubuntu1.2 | UNKNOWN |
ubuntu | 21.10 | noarch | ruby2.7 | < 2.7.4-1ubuntu1 | UNKNOWN |
github.com/ruby/ruby/commit/483f303d02e768b69e476e0b9be4ab2f26389522 (2.7)
github.com/ruby/ruby/commit/b1c73f239fe9af97de837331849f55d67c27561e (master)
launchpad.net/bugs/cve/CVE-2021-31799
nvd.nist.gov/vuln/detail/CVE-2021-31799
security-tracker.debian.org/tracker/CVE-2021-31799
ubuntu.com/security/notices/USN-5020-1
www.cve.org/CVERecord?id=CVE-2021-31799
www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
7 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.4 Medium
CVSS2
Access Vector
LOCAL
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:M/Au:N/C:P/I:P/A:P
0.001 Low
EPSS
Percentile
27.6%