Information Exposure Affecting safemode package, versions < 1.2.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.73% (73rd 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 Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-SAFEMODE-20266
  • published19 Apr 2016
  • disclosed19 Apr 2016
  • creditIvan Necas

Introduced: 19 Apr 2016

CVE-2016-3693  (opens in a new tab)
CWE-200  (opens in a new tab)

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.

CVSS Base Scores

version 3.1