Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-57850— Codeready-ws: privilege escalation via excessive /etc/passwd permissions

Quick assessment

Affected
Red Hat Red Hat OpenShift Dev Spaces
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Red Hat OpenShift Dev Spaces是美国红帽(Red Hat)公司的一个云端开发环境。 Red Hat OpenShift Dev Spaces存在安全漏洞,该漏洞源于/etc/passwd文件权限不当,可能导致容器内权限提升。

CVSS 6.4 · Medium EPSS 0.18% · P8
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-57850

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Codeready-ws: privilege escalation via excessive /etc/passwd permissions
Source: CVE Program / CVE List V5
Vulnerability Description
A container privilege escalation flaw was found in certain CodeReady Workspaces images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
缺省权限不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Red Hat OpenShift Dev Spaces 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Red Hat OpenShift Dev Spaces是美国红帽(Red Hat)公司的一个云端开发环境。 Red Hat OpenShift Dev Spaces存在安全漏洞,该漏洞源于/etc/passwd文件权限不当,可能导致容器内权限提升。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat OpenShift Dev Spaces - cpe:/a:redhat:openshift_devspaces:3
Red Hat Red Hat OpenShift Dev Spaces - cpe:/a:redhat:openshift_devspaces:3
Red Hat Red Hat OpenShift Dev Spaces - cpe:/a:redhat:openshift_devspaces:3
Red Hat Red Hat OpenShift Dev Spaces - cpe:/a:redhat:openshift_devspaces:3
Red Hat Red Hat OpenShift Dev Spaces - cpe:/a:redhat:openshift_devspaces:3

II. Public POCs for CVE-2025-57850

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-57850

登录查看更多情报信息。

Vendor Advisories for CVE-2025-57850 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-57850

No comments yet


Leave a comment