CVE-2021-31799

Source
https://cve.org/CVERecord?id=CVE-2021-31799
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31799.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31799
Aliases
Downstream
ALPINE (1)
ALSA (3)
BELL (1)
CLEANSTART (2)
CLSA (4)
DEBIAN (1)
MGASA (1)
OESA (1)
openSUSE (9)
RHSA (9)
RLSA (3)
SUSE (3)
UBUNTU (1)
Related
Published
2021-07-30T14:15:16Z
Modified
2026-10-24T10:30:29Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "9.2.6.1"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "oracle:jd_edwards_enterpriseone_tools"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "9.0"
                        },
                        {
                            "last_affected":  "9.0"
                        },
                        {
                            "introduced":  "10.0"
                        },
                        {
                            "last_affected":  "10.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/ruby/rdoc

Affected ranges

Type
GIT
Repo
https://github.com/ruby/rdoc
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:*",
            "range":  [
                {
                    "introduced":  "3.11"
                },
                {
                    "fixed":  "6.3.1"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

v3.*
v3.11
v3.12
v4.*
v4.0.0
v4.0.0.preview2
v4.0.0.preview2.1
v4.0.0.rc.2
v4.0.0.rc.2.1
v4.0.1
v4.1.0
v4.1.0.preview.1
v4.1.0.preview.3
v4.1.1
v4.2.0
v4.2.1
v4.2.2
v5.*
v5.0.0
v5.0.0.beta1
v5.0.0.beta2
v5.1.0
v6.*
v6.0.0
v6.0.0.beta1
v6.0.0.beta2
v6.0.0.beta3
v6.0.0.beta4
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.1.0
v6.1.0.beta1
v6.1.0.beta2
v6.1.0.beta3
v6.1.1
v6.2.0
v6.2.1
v6.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31799.json"