Improper Privilege Management Affecting ruby_parser-legacy package, versions >=1.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.04% (6th percentile)
Expand this section
NVD
7.8 high

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 ID SNYK-RUBY-RUBYPARSERLEGACY-480458
  • published 8 Nov 2019
  • disclosed 24 Oct 2019
  • credit fwininger

How to fix?

There is no fixed version for ruby_parser-legacy.

Overview

ruby_parser-legacy is a the ruby 1.8 and 1.9 parsers from ruby_parser (which are now removed) and plugs them into the existing system.

Affected versions of this package are vulnerable to Improper Privilege Management as it allows local privilege escalation because of world-writable files. A local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.