Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2013-0162: The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows lo

15
Routine
LOW 2.1UPGRADE

CVE-2013-0162 is a low-severity flaw (CVSS 2.1) affecting ruby parser. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score2.1 (Low)
EPSS exploit chance0.4% (top 69%)
CISA exploited listNo
WeaknessCWE-264
Published2013-03-01
Last modified2026-06-16
Publisher (CNA): Red Hat, Inc. · Vendor: ryan davis

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ryan davis ruby parser UPGRADE
Affected: <= 3.1.1 · 1.0.0 · 2.0.0 · 2.0.1 · 2.0.2 · 2.0.3 · 2.0.4 · 2.0.5
Fixed in: newer than 3.1.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ruby-parser || rpm -q ruby-parser || ruby-parser --version
2. UPGRADE to newer than 3.1.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ruby-parser
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ruby-parser
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2013-0162?

ruby parser: upgrade to newer than 3.1.1. Exact commands for each OS are on this page.

Is CVE-2013-0162 being exploited?

CVE-2013-0162 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2013-0162 affect?

CVE-2013-0162 affects ruby parser. Severity is low (CVSS 2.1). 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.

How urgent is CVE-2013-0162?

Priority 15/100. No elevated risk signals yet.

Software pages

Ruby vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.