CVE-2021-31799
Advisory lineage Upstream: 0 Downstream: 28
Modified
Published: 29 Jul 2021, 00:00
Last modified:15 Oct 2024, 20:28
Vulnerability Summary
Overall Risk (default)
medium
28/100 CVSS Score
7 HIGH
v3.1 (cve.org)
EPSS Score
0.35% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
29 Jul 2021, 00:00
Published
Vulnerability first disclosed
15 Oct 2024, 20:28
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.35%• Percentile: 58%
Techniques & Countermeasures
- CWE-78•Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Affected Systems
- debian•debian_linux
9.0 | 10.0
- oracle•jd_edwards_enterpriseone_tools
< 9.2.6.1
- ruby-lang•rdoc
≥ 3.11, < 6.3.1
References (6)
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
- https://security-tracker.debian.org/tracker/CVE-2021-31799
- https://security.netapp.com/advisory/ntap-20210902-0004/
- https://security.gentoo.org/glsa/202401-05