The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a…
Priority LOW 39CWE-200Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure, Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200 and CWE-264.
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.
Why it matters now
EPSS 0.02131 82nd percentileScored 2026-11-07
Fix Partial safemode (RubyGems): 1.2.4Red Hat: 1 advisoryRed Hat: 2 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | safemode (RubyGems) | before 1.2.4 | 1.2.4 | Patch available | GHSA-c92m-rrrc-q5wf |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- safemode (RubyGems) Vendor— Affected before 1.2.4 Fixed in 1.2.4 Patch available GHSA-c92m-rrrc-q5wf
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:* | up to 1.2.3 | Vulnerable | Safemode Project |
- cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:* Versions up to 1.2.3 Vulnerable ·Safemode Project
Remediation
- Fix · GHSA-c92m-rrrc-q5wf safemode (RubyGems) Fixed in 1.2.4 Advisory →
Red Hat 1 advisory
- RHSA-2018:0336 Released 2018-02-21 · Red Hat rating ImportantSatellite 6.3 security, bug fix, and enhancement update
- Red Hat Satellite 6.3 candlepin-2.1.14-1.el7, candlepin-selinux-2.1.14-1.el7, foreman-1.15.6.34-1.el7sat +47
- Red Hat Satellite Capsule 6.3 foreman-1.15.6.34-1.el7sat, foreman-bootloaders-redhat-201801241201-2.el7sat, foreman-bootloaders-redhat-tftpboot-201801241201-2.el7sat +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenStack Foreman | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 1.3 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux OpenStack Platform 6 (Juno) Installer | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6.3 | Fixed | RHSA-2018:0336 |
| Red Hat Satellite Capsule 6.3 | Fixed | RHSA-2018:0336 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-3693
- 2026-10-03 Alias added: GHSA-c92m-rrrc-q5wf
References
Advisory 3
Other 7
- https://github.com/theforeman/foreman/commit/82f9b93c54f72c5814df6bab7fad057eab65b2f2
- http://theforeman.org/security.html#2016-3693
- [oss-security] 20160420 CVE-2016-3693: Foreman application information leakage through templates
- https://github.com/svenfuchs/safemode/commit/0f764a1720a3a68fd2842e21377c8bfad6d7126f
- http://projects.theforeman.org/issues/14635
- https://github.com/svenfuchs/safemode
- http://rubysec.com/advisories/CVE-2016-3693
More Safemode Project Safemode vulnerabilities
- TI-2017-05181 rubygem-safemode, as used in Foreman, versions 1.3.2 and earlier are vulnerable to… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2016-3693 · CVE Program
- CVE-2016-3693 · NVD
- FIRST EPSS
- GHSA-c92m-rrrc-q5wf · GitHub Advisory Database · CC BY 4.0
- CVE-2016-3693 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences