CVE-2021-31799
mediumpriority · track · 29EPSS 0.015 · 74 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.4–7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (37)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2461Ruby: Schwachstelle ermöglicht CodeausführungDeutsch2021-05-02csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ruby ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-ggxm-pgc9-g7fpArbitrary Code Execution in Rdoc2021-09-01ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (48)
External citations — patches, advisories, analysis.
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.htmlcnnvd
- https://packetstormsecurity.com/files/163622/Ubuntu-Security-Notice-USN-5020-1.htmlcnnvd
- https://packetstormsecurity.com/files/163745/Red-Hat-Security-Advisory-2021-3020-01.htmlcnnvd
- https://packetstormsecurity.com/files/164211/Red-Hat-Security-Advisory-2021-3559-01.htmlcnnvd
- https://packetstormsecurity.com/files/164647/Red-Hat-Security-Advisory-2021-3982-01.htmlcnnvd
- https://packetstormsecurity.com/files/166016/Red-Hat-Security-Advisory-2022-0544-01.htmlcnnvd
- https://packetstormsecurity.com/files/166075/Red-Hat-Security-Advisory-2022-0582-01.htmlcnnvd
- https://packetstormsecurity.com/files/166151/Red-Hat-Security-Advisory-2022-0672-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan