Advisory

GHSA-ggxm-pgc9-g7fp

Also known as: CVE-2021-31799

Summary

Arbitrary Code Execution in 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-01 18:53 UTC
Modified
2024-11-14 01:15 UTC

Affected packages and fixes

rdoc

RubyGems · All systems

Affected

  • introduced 3.11, fixed 6.1.2.1 (ecosystem)

Fixed versions

6.1.2.1

Fix

The export has no generic command for this ecosystem.

rdoc

RubyGems · All systems

Affected

  • introduced 6.2.0, fixed 6.2.1.1 (ecosystem)

Fixed versions

6.2.1.1

Fix

The export has no generic command for this ecosystem.

rdoc

RubyGems · All systems

Affected

  • introduced 6.3.0, fixed 6.3.1 (ecosystem)

Fixed versions

6.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences