CVE-2017-7540

rubygem-safemode: Bypassing the whitelist of safe commands via block_pass

Published Jul 21, 2017 CVSS 3.0 · 9.8 Critical EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0171 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.
Github GHSA Github GHSA GHSA-5vx5-9q73-wgp4 Safemode Gem Has Incomplete List of Disallowed Inputs
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 4:04 PM
Reserved
Apr 5, 2017, 12:00 AM
Status
Modified
Published
Jul 21, 2017, 10:29 PM
Modified
Jun 17, 2026, 1:24 AM
Severity
Important
Public date
Jul 11, 2017, 12:00 AM