The diffpp function in lib/gauntletrubyparser.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.
{ "binaries": [ { "binary_name": "ruby-parser", "binary_version": "3.6.6-1" } ] }
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-0162.json"
{ "binaries": [ { "binary_name": "ruby-parser", "binary_version": "3.8.2-1" } ] }
{ "binaries": [ { "binary_name": "ruby-parser", "binary_version": "3.11.0-1" } ] }