Security mailing lists by PureSourceCode

CVE-2017-7540

CRITICAL 9.8CVSS 3.0

Safemode Gem Has Incomplete List of Disallowed Inputs

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.

Published
21 Jul 2017
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-184
Also known as
GHSA-5vx5-9q73-wgp4
Sources
NVDJSONOSV GHSA-5vx5-9q73-wgp4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD safemode_project safemode
cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:*
<= 1.3.2
OSV RubyGems safemode < 1.3.2 1.3.2

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 21 Jul 2017)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.