GitHub Advisoryadvisory · RubyGems

GHSA-ggxm-pgc9-g7fp Arbitrary Code Execution in Rdoc

HIGH Published 2021-09-01 Modified 2024-11-14 Official page ↗
Aliases
CVE-2021-31799
Ecosystem
RubyGems
Packages
rdoc
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-74, CWE-77, CWE-78
Reviewed
2021-08-02

Affected packages

• RubyGems rdoc: >= 3.11, < 6.1.2.1 → fixed in 6.1.2.1 • RubyGems rdoc: >= 6.2.0, < 6.2.1.1 → fixed in 6.2.1.1 • RubyGems rdoc: >= 6.3.0, < 6.3.1 → fixed in 6.3.1

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.

Related

Alias · CVE (1)

  • CVE-2021-31799 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… vulnerability

Weakness · CWE (3)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References