{"id":"CVE-2017-7540","published":"2017-07-21T22:00:00Z","modified":"2024-08-05T16:04:11Z","title":"rubygem-safemode, as used in Foreman, versions 1.3.2 and earlier are vulnerable to bypassing safe mode limitations via…","vendor":"Red Hat","product":"rubygem-safemode","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01627,"percentile":0.76773,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/svenfuchs/safemode/pull/23","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":15.35}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat, Inc.","product":"rubygem-safemode","versions":["1.3.2 and earlier"]}],"affected":[{"ecosystem":"RubyGems","package":"safemode","vulnerableRanges":["<1.3.2"],"patched":["1.3.2"],"from":["GHSA-5vx5-9q73-wgp4"],"provenance":"source"}],"summary":{"text":"The flaw is in the rubygem-safemode component as used in Foreman (Red Hat product rubygem-safemode), in versions 1.3.2 and earlier, where safe mode restrictions can be bypassed through special Ruby syntax.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:43Z"},"euvd":{"id":"EUVD-2017-0171","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-3693","published":"2016-05-20","fixed":"1.2.4","kev":false,"link":{"from":"CVE-2016-3693","to":"CVE-2017-7540","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:safemode","fromFixed":"1.2.4","toFixed":"1.3.2","daysApart":427}]}},{"cve":"CVE-2017-7540","published":"2017-07-21","fixed":"1.3.2","kev":false}],"package":"RubyGems:safemode"}}