CVE-2017-7540: red hat, inc. rubygem-safemode Incomplete List of Disallowed Inputs
Vulnerability summary
CVE-2017-7540 is a critical (CVSS 9.8) Incomplete List of Disallowed Inputs vulnerability in red hat, inc. rubygem-safemode. EPSS estimates a 1.63% chance of exploitation in the next 30 days, higher than 77% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 21-07-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
rubygem-safemode, as used in Foreman, versions 1.3.2 and earlier are vulnerable to bypassing safe mode limitations via special Ruby syntax. This can lead to deletion of objects for which the user does not have delete permissions or possibly to privilege escalation.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.63%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.63% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Red hat, inc.1 product
- rubygem-safemode1.3.2 and earlier
RubyGems1 product
- safemode< 1.3.2
Safemode_project1 product
- safemode≤ 1.3.2
3 vendors · 3 products