{"cve":"CVE-2013-0162","nvd":{"published":"2013-03-01T05:40:16.987","modified":"2026-06-16T23:48:52.773","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://rhn.redhat.com/errata/RHSA-2013-0544.html","http://rhn.redhat.com/errata/RHSA-2013-0548.html","https://bugzilla.redhat.com/show_bug.cgi?id=892806","http://rhn.redhat.com/errata/RHSA-2013-0544.html","http://rhn.redhat.com/errata/RHSA-2013-0548.html"],"products":["ryan_davis:ruby_parser"],"source":"nvd","synced_at":"2026-10-19T20:27:27.940201468+00:00"},"epss":{"cve":"CVE-2013-0162","score":0.00371,"percentile":0.31079,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8mvw-22r7-w6fq","url":"https://osv.dev/vulnerability/GHSA-8mvw-22r7-w6fq","summary":"ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name","modified":"2024-11-29T05:40:03.993107Z","packages":[{"ecosystem":"RubyGems","name":"ruby_parser","purl":"pkg:gem/ruby_parser","ranges":[">=2.0.2 <3.1.2"],"fixed":["3.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}