CVE-2021-31799

EUVD-2021-2060
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 Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 57%
Affected Products (NVD)
VendorProductVersion
debiandebian_linux
9.0
debiandebian_linux
10.0
ruby-langrdoc
3.11 ≤
𝑥
< 6.3.1
oraclejd_edwards_enterpriseone_tools
𝑥
< 9.2.6.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby2.7
bullseye
2.7.4-1+deb11u1
fixed
bullseye (security)
2.7.4-1+deb11u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.9.1
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
dne
ruby2.0
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
dne
ruby2.3
bionic
dne
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
Fixed 2.3.1-2~ubuntu16.04.16+esm1
released
ruby2.5
bionic
Fixed 2.5.1-1ubuntu1.10
released
focal
dne
groovy
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
dne
ruby2.7
bionic
dne
focal
Fixed 2.7.0-5ubuntu1.5
released
groovy
Fixed 2.7.1-3ubuntu1.4
released
hirsute
Fixed 2.7.2-4ubuntu1.2
released
impish
Fixed 2.7.4-1ubuntu1
released
trusty
dne
xenial
dne