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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-05T16:04:11.899Z

Reserved: 2017-04-05T00:00:00

Link: CVE-2017-7540

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-07-21T22:29:00.330

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-7540

cve-icon Redhat

Severity : Important

Publid Date: 2017-07-11T00:00:00Z

Links: CVE-2017-7540 - Bugzilla

cve-icon OpenCVE Enrichment

No data.