CVE-2021-31799

rubygem-rdoc: Command injection vulnerability in RDoc

Published Jul 29, 2021 CVSS 3.1 · 7 High EPSS 1.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2780-1 ruby2.3 security update
Debian DSA Debian DSA DSA-5066-1 ruby2.5 security update
Github GHSA Github GHSA GHSA-ggxm-pgc9-g7fp Arbitrary Code Execution in Rdoc
Ubuntu USN Ubuntu USN USN-5020-1 Ruby vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2024, 8:28 PM
Reserved
Apr 25, 2021, 12:00 AM
Status
Modified
Published
Jul 30, 2021, 2:15 PM
Modified
Jun 17, 2026, 3:52 AM
Severity
Moderate
Public date
May 2, 2021, 12:00 AM