~ / search / GHSA-8mvw-22r7-w6fq

GHSA-8mvw-22r7-w6fq

ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name

Source: GitHub Advisory Database (reviewed) Low CVE-2013-0162

Packages

EcosystemPackageAffectedFixed in
RubyGems ruby_parser >= 2.0.2, < 3.1.2 3.1.2

Details

As written in the advisory (Markdown source, shown as plain text).

The `diff_pp` function in `lib/gauntlet_rubyparser.rb` in the ruby_parser 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`.

References

External links from the advisory. They lead to third-party sites.