CVE-2017-7540: red hat, inc. rubygem-safemode Incomplete List of Disallowed Inputs
CVSS: 9.8v3.0CriticalModified
AliasesGHSA-5vx5-9q73-wgp4
Published 21-07-2017Last modified 05-08-2024
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 75.8% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
1.63%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.63%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.63% on 19-09-2026
19-09-202619-10-2026
EPSS score1.63%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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