{"id":"CVE-2013-0162","published":"2013-03-01T02:00:00Z","modified":"2024-08-06T14:18:09Z","title":"The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00371,"percentile":0.3186,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=892806","tags":["x_refsource_MISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0548.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0544.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":6.37}]},"affected":[{"ecosystem":"RubyGems","package":"ruby_parser","vulnerableRanges":[">=2.0.2, <3.1.2"],"patched":["3.1.2"],"from":["GHSA-8mvw-22r7-w6fq"],"provenance":"source"}],"summary":{"text":"The diff_pp function in lib/gauntlet_rubyparser.rb of the ruby_parser gem (version 3.1.1 and earlier) for Ruby contains a flaw in how it handles a temporary file. An attacker with local access can exploit a symlink attack on a temporary file with a predictable name in /tmp to overwrite arbitrary files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:56Z"},"euvd":{"id":"EUVD-2022-3204","exploited":false,"provenance":"source"}}