Live threats

All CVEs / Safemode Project

CVE-2017-7540Safemode Project Safemode

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jul 21, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-184
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Safemode.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems safemode < 1.3.2 1.3.2 gem "safemode", ">= 1.3.2"

Per OSV / GitHub Advisories (GHSA-5vx5-9q73-wgp4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
safemode_projectsafemode≤ 1.3.2

Official sources

References

Links published by the sources. Open them with care.