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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T14:18:09.378Z

Reserved: 2012-12-06T00:00:00Z

Link: CVE-2013-0162

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2013-03-01T05:40:16.987

Modified: 2025-04-11T00:51:21.963

Link: CVE-2013-0162

cve-icon Redhat

Severity : Low

Publid Date: 2013-01-21T00:00:00Z

Links: CVE-2013-0162 - Bugzilla

cve-icon OpenCVE Enrichment

No data.