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.
Advisories
Source ID Title
EUVD 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 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.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T01:54:14.406Z

Reserved: 2019-10-24T00:00:00

Link: CVE-2019-18409

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-10-24T14:15:11.583

Modified: 2024-11-21T04:33:12.357

Link: CVE-2019-18409

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses