SCA: security update for safemode (GHSA-5vx5-9q73-wgp4)

critical Tenable Cloud Security Plugin ID 421821

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2017-7540)

See Also

https://github.com/advisories/GHSA-5vx5-9q73-wgp4

Plugin Details

Severity: Critical

ID: 421821

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-7540

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/24/2017

Vulnerability Publication Date: 7/21/2017

Reference Information

CVE: CVE-2017-7540

cwe: CWE-184