9.9 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
kcp front-proxy does not strip inbound X-Remote-* identity headers, allowing any authenticated client to inject groups/warrants and impersonate system:masters in any workspace
kcp is a Kubernetes-like control plane for form-factors and use-cases beyond Kubernetes and container workloads. Prior to 0.31.4 and 0.32.2, the kcp front-proxy does not remove inbound X-Remote-User, X-Remote-Group, or X-Remote-Extra-* identity headers before forwarding requests to shards. Any authenticated tenant can inject X-Remote-Group: system:masters, authorization.kcp.io/warrant, authentication.kcp.io/scopes, or a group used for per-workspace required-group gating, and the shard trusts these values as authenticated identity assertions. This allows cross-workspace impersonation, authorization bypass, and arbitrary reading, writing, or deletion of resources, secrets, RBAC data, APIExports, APIBindings, and LogicalClusters. This issue is fixed in versions 0.31.4 and 0.32.2.
References
-
https://github.com/kcp-dev/kcp/security/advisories/GHSA-c8w2-fgvx-vhv4 x_refsource_CONFIRM
-
https://github.com/kcp-dev/kcp/releases/tag/v0.31.4 x_refsource_MISC
-
https://github.com/kcp-dev/kcp/releases/tag/v0.32.2 x_refsource_MISC
Affected products
- ==>= 0.32.0, < 0.32.2
- ==< 0.31.4
Matching in nixpkgs
pkgs.kcp
Fast and Reliable ARQ Protocol
pkgs.kubernetes-kcp
Kubernetes-like control planes for form-factors and use-cases beyond Kubernetes and container workloads
pkgs.python313Packages.huaweicloudsdkcph
Module of Huawei Cloud Python SDK (cph)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
pkgs.python314Packages.huaweicloudsdkcph
Module of Huawei Cloud Python SDK (cph)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
pkgs.python313Packages.huaweicloudsdkcpcs
Module of Huawei Cloud Python SDK (cpcs)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
pkgs.python313Packages.huaweicloudsdkcpts
Module of Huawei Cloud Python SDK (cpts)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
pkgs.python314Packages.huaweicloudsdkcpcs
Module of Huawei Cloud Python SDK (cpcs)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
pkgs.python314Packages.huaweicloudsdkcpts
Module of Huawei Cloud Python SDK (cpts)
-
nixos-unstable -
- nixos-unstable-small 3.1.213
Package maintainers
-
@rytswd Ryota <rytswd@gmail.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>