The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method.
https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2
https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f
https://access.redhat.com/errata/RHSA-2018:0336
http://www.openwall.com/lists/oss-security/2016/04/20/8
http://theforeman.org/security.html#2016-3693