safemode 1.1.0

2 security vulnerabilities found in version 1.1.0

Safemode Gem for Ruby is vulnerable to bypassing safe mode limitations

critical severity CVE-2017-7540
critical severity CVE-2017-7540
Patched versions: >= 1.3.3

Safemode, as used in Foreman, versions 1.3.2 and earlier 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.

Safemode Gem for Ruby is vulnerable to information disclosure

high severity CVE-2016-3693
high severity CVE-2016-3693
Patched versions: >= 1.2.4

Safemode is initialised 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.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

No license issues detected.


This gem version has a license in the gemspec.

This gem version is available.


This gem version has not been yanked and is still available for usage.