Arbitrary Code Execution Vulnerability in RDoc
CVE-2021-31799
7HIGH
Key facts: CVE-2021-31799 is a high severity (CVSS 7) vulnerability in Debian Linux. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.4%, the estimated probability of exploitation in the next 30 days.
What is CVE-2021-31799?
In RDoc versions 3.11 through 6.x prior to 6.3.1, bundled with Ruby 3.0.1, an attacker can exploit the ability to include special characters such as | and tags in filenames, leading to the possibility of arbitrary code execution. This vulnerability allows unauthorized operations to be executed on the system, potentially compromising the security of the application using RDoc.
References
https://lists.debian.org/debian-lts-announce/2021/10/msg0...
mailing-list
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.ruby-lang.org/en/news/2021/05/02/os-command-i...
More Debian vulnerabilities
- CVE-2026-109518: Remote Code Execution Vulnerability in Debian and Ubuntu Package Management(HIGH)
- CVE-2025-8454: OpenPGP Verification Bypass in Devscripts Tool Affecting Debian(CRITICAL)