CVE-2019-18409 — Vulnerability in ruby_parser-legacy — CVE Details
HIGH
Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource
Published October 25, 2019Updated February 16, 2024Source: osv
Summary
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.
Advisory Timeline
- First published October 25, 2019 (2544 days ago).
- Last revised February 16, 2024 — 1575 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| ruby_parser-legacy | rubygems | 1.0.0 | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-732Incorrect Permission AssignmentMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18409ADVISORY
- https://github.com/zenspider/ruby_parser-legacy/issues/1WEB
- https://brakemanscanner.org/blog/2019/10/14/brakeman-4-dot-7-dot-1-releasedWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/brakeman/CVE-2019-18409.ymlWEB
- https://github.com/zenspider/ruby_parser-legacyPACKAGE
Frequently Asked Questions
- What is CVE-2019-18409?
- Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
- How do I check if my project is affected by CVE-2019-18409?
- CVE-2019-18409 affects ruby_parser-legacy. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-18409 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
7.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-hhwc-8g49-j8jx
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies