Symlink File Overwrite Affecting ruby_parser package, versions < 3.1.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-RUBYPARSER-20074
  • published20 Feb 2013
  • disclosed20 Feb 2013
  • creditVincent Danen

Introduced: 20 Feb 2013

CVE-2013-0162  (opens in a new tab)
CWE-208  (opens in a new tab)

Overview

ruby_parser is a ruby parser written in pure ruby.

Vulnerable versions contain a flaw as ruby_parser creates temporary files insecurely. It is possible for a local attacker to use a symlink attack to cause the program to unexpectedly overwrite an arbitrary file.

CVSS Scores

version 3.1