# CVE-2016-3693: safemode gem allows context-dependent attackers to obtain sensitive information via the inspect method

Source: https://junglewise.ai/threats/cve-2016-3693-safemode-gem-allows-context-dependent-attackers-to-obtain  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-24  
License: CC BY 4.0 with a link back

CVE-2016-3693 · Severity: low · CVSS 3 · Published 2017-10-24

safemode gem allows context-dependent attackers to obtain sensitive information via the inspect method

Technologies: [safemode (RubyGems)](https://junglewise.ai/threats/technologies/safemode). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2016-3693 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2016-3693 being exploited in the wild.

**How severe is CVE-2016-3693?** Low severity, with a CVSS score of 3, published 24 October 2017.

**Which products and versions are affected?** safemode (RubyGems) ECOSYSTEM:introduced=0,fixed=1.2.4.

**Is there a fix for CVE-2016-3693?** Yes. safemode (RubyGems): upgrade to 1.2.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2016-3693?** Check whether you run safemode (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- safemode (RubyGems): upgrade to 1.2.4 or later

  ```sh
  bundle update safemode
  ```


## Affected products

- safemode (RubyGems) ECOSYSTEM:introduced=0,fixed=1.2.4

## Identifiers

- CVE-2016-3693
- GHSA-c92m-rrrc-q5wf

## Related threats

- [rubygem-safemode Jail allow-list bypass in compound assignment](https://junglewise.ai/threats/cve-2026-107360-a-flaw-was-found-in-rubygem-safemode-compound-assignment)
- [Moderate severity vulnerability that affects safemode](https://junglewise.ai/threats/moderate-severity-vulnerability-that-affects-safemode-f869807a)
- [High severity vulnerability that affects safemode](https://junglewise.ai/threats/high-severity-vulnerability-that-affects-safemode-df3fedba)
- [Safemode Gem Has Incomplete List of Disallowed Inputs](https://junglewise.ai/threats/cve-2017-7540-safemode-gem-has-incomplete-list-of-disallowed-inputs)
