Vulnerability DatabaseGHSA-c7xh-gjv4-4jgv

GHSA-c7xh-gjv4-4jgv
vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-c7xh-gjv4-4jgv) affects kcp versions 0.26.0 and earlier, discovered and disclosed in December 2024. This security issue involves kcp's impersonation feature, which allows users with certain privileges to override user information. The vulnerability specifically affects kcp installations where users are granted the cluster-admin ClusterRole or similar high-level permissions within their workspaces (GitHub Advisory).

Technical details

The vulnerability stems from kcp's inheritance of Kubernetes API's impersonation feature. Users with cluster-admin ClusterRole or comparable permissions that grant impersonation access within their workspaces can impersonate special global administrative groups. This ability allows them to circumvent parts of the authorizer chains, including maximal permission policies. The vulnerability has been assigned a CVSS v3.1 score of 6.4 (Moderate), with the following metrics: Network attack vector, Low attack complexity, Low privileges required, No user interaction needed, Changed scope, and Low impact on both confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability enables users with workspace-level administrative privileges to bypass security boundaries by impersonating global administrative groups. This could lead to unauthorized access and potential circumvention of security controls, particularly affecting maximal permission policies. The impact primarily concerns confidentiality and integrity aspects of the system, though availability is not affected (GitHub Advisory).

Mitigation and workarounds

Two primary workarounds are available: 1) Not assigning the cluster-admin role or any other role that grants blanket impersonation permissions to users, and 2) Implementing a reverse proxy between users and kcp to check for the Impersonate-Group header and reject requests that impersonate global administrative groups. The vulnerability has been patched in version 0.26.1 and higher (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management