Advisory

GHSA-8mvw-22r7-w6fq

Also known as: CVE-2013-0162

Summary

ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-05-05 02:48 UTC
Modified
2024-11-29 05:40 UTC

Affected packages and fixes

ruby_parser

RubyGems · All systems

Affected

  • introduced 2.0.2, fixed 3.1.2 (ecosystem)

Fixed versions

3.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences