CVE-2013-0162

rubygem-ruby_parser: incorrect temporary file usage

Published Mar 1, 2013 CVSS 2.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-3204 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.
Github GHSA Github GHSA GHSA-8mvw-22r7-w6fq ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 2:18 PM
Reserved
Dec 6, 2012, 12:00 AM
Status
Modified
Published
Mar 1, 2013, 5:40 AM
Modified
Jun 16, 2026, 11:48 PM
Severity
Low
Public date
Jan 21, 2013, 12:00 AM