All reports
High

Arbitrary Code Execution in Rdoc

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemsrdoc
Affected versions
>= 6.3.0, < 6.3.1
Fixed version
6.3.1
RubyGemsrdoc
Affected versions
>= 6.2.0, < 6.2.1.1
Fixed version
6.2.1.1
RubyGemsrdoc
Affected versions
>= 3.11, < 6.1.2.1
Fixed version
6.1.2.1

Exploitation

CVE-2021-31799

Probability of exploitation in the next 30 days: 1.48%

FIRST EPSS · 2026-11-23

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.

Links