Information Exposure Affecting safemode package, versions < 1.2.4


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.95% (84th percentile)
Expand this section
NVD
8.1 high
Expand this section
Red Hat
3.1 low

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-20266
  • published 19 Apr 2016
  • disclosed 19 Apr 2016
  • credit Ivan Necas

Overview

Safemode is a library for safe evaluation of Ruby code based on RubyParser and Ruby2Ruby. This gem is initialized with an optional delegate object. If the delegated object is a Rails controller, inspect could be called which then exposes all informations about the App, including routes, secret tokens, caches and so on.