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

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
Red Hat CloudForms Cloud Engine 1 (rubygem-ruby_parser) RHSA-2013:0548 2013-02-21
Red Hat OpenShift Enterprise Client Tools RHSA-2013:0582 2013-02-28
Red Hat CloudForms System Engine 1 (rubygem-ruby_parser) RHSA-2013:0548 2013-02-21
Red Hat Subscription Asset Manager 1.2 (rubygem-ruby_parser) RHSA-2013:0544 2013-02-21

Affected Packages State

Platform Package State
Red Hat Satellite 6 ruby193-rubygem-ruby_parser Affected
Red Hat CloudForms Tools 1 rubygem-ruby_parser Affected


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

Last Modified

CVE description copyright © 2017, The MITRE Corporation


Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.