All reports
Low

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
RubyGemsruby_parser
Affected versions
>= 2.0.2, < 3.1.2
Fixed version
3.1.2

Exploitation

CVE-2013-0162

Probability of exploitation in the next 30 days: 0.37%

FIRST EPSS · 2026-11-21

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.

Links