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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (6th 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-RUBYPARSERLEGACY-480458
  • published8 Nov 2019
  • disclosed24 Oct 2019
  • creditfwininger

Introduced: 24 Oct 2019

CVE-2019-18409  (opens in a new tab)
CWE-732  (opens in a new tab)

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.

CVSS Base Scores

version 3.1