All reports
Critical

Safemode Gem Has Incomplete List of Disallowed Inputs

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemssafemode
Affected versions
< 1.3.2
Fixed version
1.3.2

Exploitation

CVE-2017-7540

Probability of exploitation in the next 30 days: 1.63%

FIRST EPSS · 2026-11-23

Description

rubygem-safemode, as used in Foreman, versions 1.3.1 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.

Links