{"schemaVersion":3,"id":"CVE-2016-3693","aliases":["GHSA-c92m-rrrc-q5wf"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2016-05-20T14:00:00.000Z","modified":"2024-08-06T00:03:34.482Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Rubygems","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.02131,"percentile":0.81688,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02131},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02008,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02131,"percentile":0.81688}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02008,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02131,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02131,"percentile":0.81688}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-264","name":"Permissions, Privileges, and Access Controls","description":"Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.","type":"category","status":"Obsolete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/264.html"}],"affected":[{"vendor":"RubyGems","product":"safemode","name":"safemode","label":"safemode","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/safemode","purlType":"gem","versions":[{"text":"< 1.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.4","eol":null,"hubHref":null},{"vendor":"safemode_project","product":"safemode","name":"safemode","label":"safemode","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.2.3","eol":null,"hubHref":"/vendor/safemode_project/safemode"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2","label":"github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://theforeman.org/security.html#2016-3693","label":"theforeman.org/security.html","hostname":"theforeman.org","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0336","label":"access.redhat.com/errata/RHSA-2018:0336","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/20/8","label":"www.openwall.com/lists/oss-security/2016/04/20/8","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://rubysec.com/advisories/CVE-2016-3693/","label":"rubysec.com/advisories/CVE-2016-3693/","hostname":"rubysec.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f","label":"github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://projects.theforeman.org/issues/14635","label":"projects.theforeman.org/issues/14635","hostname":"projects.theforeman.org","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3693","label":"nvd.nist.gov/vuln/detail/CVE-2016-3693","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/svenfuchs/safemode","label":"github.com/svenfuchs/safemode","hostname":"github.com","tags":["PACKAGE"]},{"url":"http://rubysec.com/advisories/CVE-2016-3693","label":"rubysec.com/advisories/CVE-2016-3693","hostname":"rubysec.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2018:0336"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2016-05-20T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T00:03:34.482Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:26:54.873Z","stale":false,"partial":false}}