CVEvulnerability
CVE-2019-18409
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-10-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-732
Description
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.
Affected configurations
• zenspider ruby parser-legacy 1.0.0
Related
Weakness · CWE (1)
- CWE-732 Incorrect Permission Assignment for Critical Resource weakness
References
- https://github.com/zenspider/ruby_parser-legacy/issues/1 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/zenspider/ruby_parser-legacy/issues/1 Exploit, Issue Tracking, Third Party Advisory