CVE-2013-0162

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=892806

http://rhn.redhat.com/errata/RHSA-2013-0548.html

http://rhn.redhat.com/errata/RHSA-2013-0544.html

Details

Source: Mitre, NVD

Published: 2013-03-01

Updated: 2023-02-13

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:N

Severity: Low

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Severity: Medium