Improper Privilege Management Affecting brakeman package, versions >=4.5.0, <4.7.1


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-BRAKEMAN-480459
  • published 8 Nov 2019
  • disclosed 24 Oct 2019
  • credit fwininger

How to fix?

Upgrade brakeman to version 4.7.1 or higher.

Overview

brakeman is an is a gem that detects security vulnerabilities in Ruby on Rails applications via static analysis.

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.