Vulnerabilities · 2021 · Debian
CVE-2021-31799
Debian Linux vulnerability
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.
Affected products
Debian Linux, Rdoc, Jd Edwards Enterpriseone Tools. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Debian Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ · Patch
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- lists.debian.org/debian-lts-announce/2021/10/msg00009.html · Third Party Advisory
- security-tracker.debian.org/tracker/CVE-2021-31799 · Third Party Advisory
- security.netapp.com/advisory/ntap-20210902-0004/ · Third Party Advisory
- security.gentoo.org/glsa/202401-05
- nvd.nist.gov/vuln/detail/CVE-2021-31799
- github.com/ruby/rdoc/commit/a7f5d6ab88632b3b482fe10611382ff73d14eed7
- nvd.nist.gov/vuln/detail/CVE-2021-31799
- cve.org/CVERecord?id=CVE-2021-31799
More vulnerabilities in Debian products
CVE-2026-24061CVE-2025-68670CVE-2025-64512CVE-2025-63498CVE-2025-49113CVE-2025-48432CVE-2025-48384CVE-2025-47287All 9,969
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.