cve/2019/CVE-2019-18409.md
2024-06-18 02:51:15 +02:00

18 lines
811 B
Markdown

### [CVE-2019-18409](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18409)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/zenspider/ruby_parser-legacy/issues/1
#### Github
No PoCs found on GitHub currently.