GHSA-8mvw-22r7-w6fqLow

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

Published
May 5, 2022
Last Modified
August 16, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • rubygems/ruby_parser:>= 2.0.2, < 3.1.2

🔗 References (11)