Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2017-7540

30
FAUCET Score

CVE-2017-7540 is a critical vulnerability affecting rubygem-safemode versions 1.3.2 and earlier, specifically as used in Foreman. This flaw allows attackers to bypass safe mode limitations through special Ruby syntax, potentially leading to unauthorized object deletion or privilege escalation. With a CVSS score of 9.8 (Critical), it presents a severe risk due to its network-based attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
<= 1.3.2CPE matchmatch criteria
cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:*

CVSS Data

CVSS version used by this source: 3.0

9.8CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
1.63%
Probability of exploitation in next 30 days
EPSS Percentile
73.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0163 is in the 61st percentile among its peer group of 36,833 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

rubygemspatch availablevia ghsa
Product: safemodeFixed in: 1.3.2
redhatno patchvia redhat_api
Product: Red Hat Satellite 6Fixed in: ruby193-rubygem-safemode
redhatend of lifevia redhat_api
Product: Red Hat Ceph Storage 1.3Fixed in: ruby193-rubygem-safemode
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux OpenStack Platform 6 (Juno) InstallerFixed in: ruby193-rubygem-safemode

Vendor Advisories (2)

rubygemsGHSA-5vx5-9q73-wgp4critical

Safemode Gem Has Incomplete List of Disallowed Inputs

Oct 24, 2017
redhatCVE-2017-7540Important

rubygem-safemode: Bypassing the whitelist of safe commands via block_pass

Jul 11, 2017

References

github.com / svenfuchs/safemode/pull/23
Issue Tracking