GHSA-5vx5-9q73-wgp4
Dashboard / Vulnerabilities / GHSA-5vx5-9q73-wgp4
Summary: Safemode Gem Has Incomplete List of Disallowed Inputs
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2017-7540, https://github.com/svenfuchs/safemode/pull/23, https://github.com/rubysec/ruby-advisory-db/blob/master/gems/safemode/CVE-2017-7540.yml, https://github.com/svenfuchs/safemode
Affected packages
Package
Name: safemode
Purl: pkg:gem/safemode
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -1.3.2
Affected versions
0.0.2
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
