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

High 8.1 Published Updated

Attackers can obtain sensitive information from Rails controllers via the inspect method in the Safemode gem when a delegate object is initialized.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-3693?

CVE-2016-3693 is a high-severity vulnerability in n/a, published on 20 May 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-264, CWE-200

Which versions are affected by CVE-2016-3693?

2 open source packages ship an affected version, including safemode. It affects 1 product.

PackageAffectedFixed in
safemode RubyGemsAll versions1.2.4
safemode RubyGemsAll versions1.2.4

Products include Safemode Project Safemode.

How do I fix CVE-2016-3693?

Upgrade safemode to 1.2.4 or later.

Is CVE-2016-3693 being exploited?

There is no known exploitation of CVE-2016-3693 in the wild and no public exploit code.

Sources

Also known as GHSA-c92m-rrrc-q5wf.

Is CVE-2016-3693 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free