SCA: security update for github.com/operator-framework/operator-sdk (GHSA-856v-8qm2-9wjv)

medium Tenable Self-Hosted Container Security Plugin ID 432558

Description

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

- Early versions of Operator-SDK provided an insecure method to allow operator containers to run in
environments that used a random UID. Operator-SDK before 0.15.2 provided a script, user_setup, which
modifies the permissions of the /etc/passwd file to 664 during build time. Developers who used Operator-
SDK before 0.15.2 to scaffold their operator may still be impacted by this if the insecure user_setup
script is still being used to build new container images. In affected images, the /etc/passwd file is
created during build time with group-writable permissions and a group ownership of root (gid=0). An
attacker who can execute commands within an affected container, even as a non-root user, may be able to
leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker
to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the
container. (CVE-2025-7195)

Solution

Update the github.com/operator-framework/operator-sdk library and its related packages to version 0.15.2 or later.

See Also

https://github.com/advisories/GHSA-856v-8qm2-9wjv

Plugin Details

Severity: Medium

ID: 432558

Version: Revision 1.26

Type: Local

Family: SCA Checks

Published: 8/8/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.04

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2025-7195

CVSS v3

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5.6

Vector: CVSS:3.0/AV:L/AC:H/PR:H/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: 8/7/2025

Vulnerability Publication Date: 8/7/2025

Reference Information

CVE: CVE-2025-7195

cwe: CWE-276