GHSA-ggxm-pgc9-g7fp

Suggest an improvement
Source
https://github.com/advisories/GHSA-ggxm-pgc9-g7fp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-ggxm-pgc9-g7fp/GHSA-ggxm-pgc9-g7fp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ggxm-pgc9-g7fp
Aliases
Published
2021-09-01T18:53:15Z
Modified
2024-11-14T01:15:50.703159Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-07-30T14:15:00Z",
    "cwe_ids": [
        "CWE-74",
        "CWE-77",
        "CWE-78"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-02T18:08:41Z"
}
References

Affected packages

RubyGems / rdoc

Package

Name
rdoc
Purl
pkg:gem/rdoc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11
Fixed
6.1.2.1

Affected versions

3.*

3.11
3.12
3.12.1
3.12.2

4.*

4.0.0.preview2
4.0.0.preview2.1
4.0.0.rc.2
4.0.0.rc.2.1
4.0.0
4.0.1
4.1.0.preview.3
4.1.0
4.1.1
4.1.2
4.2.0
4.2.1
4.2.2
4.3.0

5.*

5.0.0.beta1
5.0.0.beta2
5.0.0
5.0.1
5.1.0

6.*

6.0.0.beta1
6.0.0.beta2
6.0.0.beta3
6.0.0.beta4
6.0.0
6.0.1
6.0.1.1
6.0.2
6.0.3
6.0.4
6.1.0.beta1
6.1.0.beta2
6.1.0.beta3
6.1.0
6.1.1
6.1.2

RubyGems / rdoc

Package

Name
rdoc
Purl
pkg:gem/rdoc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.1.1

Affected versions

6.*

6.2.0
6.2.1

RubyGems / rdoc

Package

Name
rdoc
Purl
pkg:gem/rdoc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.1

Affected versions

6.*

6.3.0