High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-3693
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:39 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-3693
Complete source record
{
"id": "b1b35237d213c46cd8326ab57ba3d1c58b7c2ec0bfeeea1da6ff49f090e3ce14",
"url": "https://osv.dev/vulnerability/CVE-2016-3693",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-3693",
"summary": "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.",
"evidence": "osv:CVE-2016-3693",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-3693",
"aliases": [
"CVE-2016-3693",
"GHSA-c92m-rrrc-q5wf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/theforeman/foreman",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "82f9b93c54f72c5814df6bab7fad057eab65b2f2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "82f9b93c54f72c5814df6bab7fad057eab65b2f2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.1",
"1.1RC5",
"1.1RC4",
"1.1RC3",
"1.1RC2",
"1.1RC1",
"1.0",
"1.0RC5",
"1.0RC4",
"1.0RC3",
"1.0RC2",
"1.0RC1",
"0.4",
"0.4rc5",
"0.4rc4",
"0.4rc3",
"0.4rc2",
"0.3",
"0.2",
"0.2rc1",
"0.1-6",
"0.1-5",
"0.1-4",
"0.1-3",
"0.1-2",
"0.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3693.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/theforeman/safemode",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "9711f575b7afd28dcee653bc8c6583cc50dc4c6f"
},
{
"fixed": "0f764a1720a3a68fd2842e21377c8bfad6d7126f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0f764a1720a3a68fd2842e21377c8bfad6d7126f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.0.1",
"v1.2.0",
"v1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3693.json"
}
}
],
"modified": "2026-10-20T10:47:27.082110284Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:0336",
"https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f",
"https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-3693",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379402,
"published_at": "2016-05-20T14:59:03.2+00:00"
}