Access Restriction Bypass Affecting safemode package, versions < 1.3.3


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.21% (59th percentile)
Expand this section
NVD
9.8 critical

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-SAFEMODE-22007
  • published 31 Jan 2018
  • disclosed 11 Jul 2017
  • credit Unknown

How to fix?

Upgrade safemode to version 1.3.3 or higher.

Overview

safemode is a library for safe evaluation of Ruby code based on RubyParser and Ruby2Ruby.

Affected versions of this package are vulnerable to bypassing safe mode limitations via special Ruby syntax. This can lead to deletion of objects for which the user does not have delete permissions or possibly to privilege escalation.