Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdneG0tcGdjOS1nN2Zw

Arbitrary Code Execution in Rdoc

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.

Permalink: https://github.com/advisories/GHSA-ggxm-pgc9-g7fp
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdneG0tcGdjOS1nN2Zw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 4 months ago


CVSS Score: 7.0
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-ggxm-pgc9-g7fp, CVE-2021-31799
References: Repository: https://github.com/ruby/rdoc
Blast Radius: 39.7

Affected Packages

rubygems:rdoc
Dependent packages: 5,157
Dependent repositories: 465,939
Downloads: 146,013,224 total
Affected Version Ranges: >= 6.3.0, < 6.3.1, >= 6.2.0, < 6.2.1.1, >= 3.11, < 6.1.2.1
Fixed in: 6.3.1, 6.2.1.1, 6.1.2.1
All affected versions: 3.12.1, 3.12.2, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 5.0.0, 5.0.1, 5.1.0, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.1.0, 6.1.1, 6.1.2, 6.2.0, 6.2.1, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.5.0, 6.6.0, 6.6.1, 6.6.2
All unaffected versions: 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8, 2.5.9, 2.5.10, 2.5.11, 3.0.1, 3.5.1, 3.5.2, 3.5.3, 3.6.1, 3.9.1, 3.9.2, 3.9.3, 3.9.4, 3.9.5