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
.
{ "nvd_published_at": "2013-03-01T05:40:00Z", "cwe_ids": [ "CWE-377" ], "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2023-03-08T19:28:01Z" }