Public Date:
892806: CVE-2013-0162 rubygem-ruby_parser: incorrect temporary file usage

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2013-0162 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 2.1
Base Metrics AV:L/AC:L/Au:N/C:N/I:P/A:N
Access Vector Local
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
CloudForms System Engine for RHEL 6 Server RHSA-2013:0548 2013-02-21
Red Hat Subscription Asset Manager for RHEL 6 Server RHSA-2013:0544 2013-02-21
Red Hat OpenShift Enterprise Client Tools RHSA-2013:0582 2013-02-28


This issue was discovered by Michael Scherer of the Red Hat Regional IT team.