UnratedRubyGemsPublished
ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name
CVE-2013-0162 · GHSA-8mvw-22r7-w6fq
- Affected
- RubyGems ruby_parser >= 2.0.2, < 3.1.2
- Fixed in
- 3.1.2· Vendor fix available
- Issue
- The diffpp function in lib/gauntletrubyparser.rb in the rubyparser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.
Recommended action: Upgrade to 3.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.