7.0
HIGH
CVE-2021-31799
"Ruby RDoc Filename Injection Vulnerability"
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.

INFO

Published Date :

July 30, 2021, 2:15 p.m.

Last Modified :

Oct. 15, 2024, 9:35 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2021-31799 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-31799 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang ruby
2 Ruby-lang rdoc
1 Debian debian_linux
1 Oracle jd_edwards_enterpriseone_tools
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-31799.

URL Resource
https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2021-31799 Third Party Advisory
https://security.gentoo.org/glsa/202401-05
https://security.netapp.com/advisory/ntap-20210902-0004/ Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html Patch Third Party Advisory
https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ Patch Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 10 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

None

Updated: 2 months, 1 week ago
66 stars 14 fork 14 watcher
Born at : Oct. 13, 2021, 4:56 a.m. This repo has been linked 175 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 1 month, 3 weeks ago
1 stars 56 fork 56 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1007 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-31799 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-31799 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 15, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-78
    Added CVSS V3.1 CISA-ADP AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 05, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://security.gentoo.org/glsa/202401-05 [No types assigned]
  • CWE Remap by [email protected]

    Jun. 28, 2022

    Action Type Old Value New Value
    Changed CWE CWE-77 CWE-78
  • Modified Analysis by [email protected]

    May. 10, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:* versions up to (excluding) 9.2.6.1
  • CVE Modified by [email protected]

    Apr. 20, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 18, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210902-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20210902-0004/ Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 13, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 02, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210902-0004/ [No Types Assigned]
  • Reanalysis by [email protected]

    Aug. 31, 2021

    Action Type Old Value New Value
    Removed CPE Configuration AND *cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:*:*:* versions from (including) 3.11 up to (excluding) 6.3.1 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (including) 3.0.1
    Added CPE Configuration AND OR *cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:* versions from (including) 3.11 up to (excluding) 6.3.1 OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (including) 3.0.1
  • Reanalysis by [email protected]

    Aug. 26, 2021

    Action Type Old Value New Value
    Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:P/A:P)
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Initial Analysis by [email protected]

    Aug. 06, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2021-31799 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2021-31799 Third Party Advisory
    Changed Reference Type https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ No Types Assigned https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ Patch, Vendor Advisory
    Added CWE NIST CWE-77
    Added CPE Configuration AND *cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:*:*:* versions from (including) 3.11 up to (excluding) 6.3.1 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions up to (including) 3.0.1
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-31799 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.01%

score

0.27029

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability