| Package | Affected versions | Patched versions |
|---|---|---|
| ruby_parser | ≥ 2.0.2, < 3.1.2 | 3.1.2 |
| ruby parser | = 1.0.0= 2.0.0= 2.0.1= 2.0.2= 2.0.3= 2.0.4= 2.0.5= 2.0.6= 2.1.0= 2.2.0= 2.3.0= 2.3.1= 3.0.0= 3.0.0.a1= 3.0.0.a10= 3.0.0.a2= 3.0.0.a3= 3.0.0.a4= 3.0.0.a5= 3.0.0.a6= 3.0.0.a7= 3.0.0.a8= 3.0.0.a9= 3.0.1= 3.0.2= 3.0.3= 3.0.4= 3.1.0≤ 3.1.1 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free