p PatchFirst

CVE-2013-0162

CVE-2013-0162

EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

gem list --exact ruby_parser
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-parser"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system · ruby

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • ruby_parser RubyGems

    Versions
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.1.0
    All versions (26)
    • 2.2.0
    • 2.3.0
    • 2.3.1
    • 3.0.0
    • 3.0.0.a1
    • 3.0.0.a10
    • 3.0.0.a2
    • 3.0.0.a3
    • 3.0.0.a4
    • 3.0.0.a5
    • 3.0.0.a6
    • 3.0.0.a7
    • 3.0.0.a8
    • 3.0.0.a9
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.1.0
    • 3.1.1
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.2, < 3.1.2

    Update to 3.1.2

  • ruby-parser Ubuntu 16.04 LTS

    Versions
    • 3.6.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-parser Ubuntu 18.04 LTS

    Versions
    • 3.8.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-parser Ubuntu 20.04 LTS

    Versions
    • 3.11.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →