Information Exposure Affecting safemode package, versions < 1.2.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.95% (84th 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-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 Scores

version 3.1