CVE-2021-31799
HIGHCVSS 7/10EPSS 1.48%
Last modified
CVE-2021-31799 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 1.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Ruby-Lang | Rdoc | >= 3.11, < 6.3.1 |
| Oracle | Jd Edwards Enterpriseone Tools | < 9.2.6.1 |
References
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.htmlThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-31799Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210902-0004/Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.htmlThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-31799Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210902-0004/Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31799?
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.
How severe is CVE-2021-31799?
CVE-2021-31799 has a CVSS score of 7/10 (HIGH severity). The EPSS model estimates a 1.48% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31799?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31793An issue exists on NightOwl WDB-20-V2 WDB-20-V2_20190314 dev…7.5
- CVE-2021-31794Settings.aspx?view=About in Directum 5.8.2 allows XSS via th…6.1
- CVE-2021-31795The PowerVR GPU kernel driver in pvrsrvkm.ko through 2021-04…7
- CVE-2021-31796An inadequate encryption vulnerability discovered in CyberAr…7.5
- CVE-2021-31797The user identification mechanism used by CyberArk Credentia…5.1
- CVE-2021-31798The effective key space used to encrypt the cache in CyberAr…4.4
- CVE-2021-31800Multiple path traversal vulnerabilities exist in smbserver.p…9.8
- CVE-2021-31802NETGEAR R7000 1.0.11.116 devices have a heap-based Buffer Ov…8.8
- CVE-2021-31803cPanel before 94.0.3 allows self-XSS via EasyApache 4 Save P…6.1
- CVE-2021-31804LeoCAD before 21.03 sometimes allows a use-after-free during…5.5
- CVE-2021-31805The fix issued for CVE-2020-17530 was incomplete. So from Ap…9.8
- CVE-2021-31806An issue was discovered in Squid before 4.15 and 5.x before …6.5
Are you affected by CVE-2021-31799?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
