GHSA-hhwc-8g49-j8jx

Suggest an improvement
Source
https://github.com/advisories/GHSA-hhwc-8g49-j8jx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-hhwc-8g49-j8jx/GHSA-hhwc-8g49-j8jx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hhwc-8g49-j8jx
Aliases
Published
2019-10-25T19:41:34Z
Modified
2024-02-16T08:19:58.081155Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource
Details

The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.

Database specific
{
    "nvd_published_at": "2019-10-24T14:15:00Z",
    "cwe_ids": [
        "CWE-732"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2019-10-25T16:26:28Z"
}
References

Affected packages

RubyGems / ruby_parser-legacy

Package

Name
ruby_parser-legacy
Purl
pkg:gem/ruby_parser-legacy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.0

Affected versions

1.*

1.0.0