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.
                
            Metrics
Affected Vendors & Products
Advisories
    | Source | ID | Title | 
|---|---|---|
  EUVD | 
                EUVD-2019-0704 | 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. | 
  Github GHSA | 
                GHSA-hhwc-8g49-j8jx | Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource | 
Fixes
    Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
        | Link | Providers | 
|---|---|
| https://github.com/zenspider/ruby_parser-legacy/issues/1 | 
                     | 
            
History
                    No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T01:54:14.406Z
Reserved: 2019-10-24T00:00:00
Link: CVE-2019-18409
No data.
Status : Modified
Published: 2019-10-24T14:15:11.583
Modified: 2024-11-21T04:33:12.357
Link: CVE-2019-18409
No data.
                        OpenCVE Enrichment
                    No data.
 EUVD
 Github GHSA