VDB
Sign up
HIGH7.0

GHSA-ggxm-pgc9-g7fp

Arbitrary Code Execution in Rdoc

Quick fix

GHSA-ggxm-pgc9-g7fp — rdoc: upgrade to the fixed version with the command below.

bundle update rdoc

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rdoc
Introduced in: 3.11Fixed in: 6.1.2.1
Fixbundle update rdoc
RubyGems/rdoc
Introduced in: 6.2.0Fixed in: 6.2.1.1
Fixbundle update rdoc
RubyGems/rdoc
Introduced in: 6.3.0Fixed in: 6.3.1
Fixbundle update rdoc

References