Advisory

GHSA-5vx5-9q73-wgp4

Also known as: CVE-2017-7540

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-02-16 08:16 UTC

Affected packages and fixes

safemode

RubyGems · All systems

Affected

  • introduced 0, fixed 1.3.2 (ecosystem)

Fixed versions

1.3.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences