RubyGems (Ruby)Worst: Critical4 advisories

safemode: known vulnerabilities

safemode has 4 reviewed security advisories in the GitHub Advisory Database — 1 critical, 2 high, 1 moderate. The most recent was published 2018-08-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the safemode versions running across your servers, containers and images, and ranks what to patch first.

How to fix safemode

Upgrade safemode to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update safemode to 1.2.4 (or gem install safemode -v 1.2.4)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

Moderate severity vulnerability that affects safemode Moderate — Affected: before 1.2.4. Fixed in 1.2.4. Published 2018-08-08. GHSA-44vc-fpcg-5cc5
High severity vulnerability that affects safemode High — Affected: before 1.3.3. Fixed in 1.3.3. Published 2018-08-08. GHSA-8474-rc7c-wrhp
Safemode Gem Has Incomplete List of Disallowed Inputs Critical 9.8 CWE-184 — Affected: before 1.3.2. Fixed in 1.3.2. Published 2017-07-21. GHSA-5vx5-9q73-wgp4 · CVE-2017-7540
safemode gem allows context-dependent attackers to obtain sensitive information via the inspect method High 8.1 CWE-200 — Affected: before 1.2.4. Fixed in 1.2.4. Published 2016-05-20. GHSA-c92m-rrrc-q5wf · CVE-2016-3693

Find safemode across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.