GHSA-q6hv-wcjr-wp8h: kcp is missing update validation allows arbitrary LogicalCluster status patches through initializingworkspaces Virtual Workspace
Because UPDATE validation is not being applied, it is possible for an actor with access to an instance of the initializingworkspaces virtual workspace to run arbitrary patches on the status field of LogicalCluster
objects while the workspace is initializing.
This allows to add or remove any initializers as well as changing the phase of a LogicalCluster
(to “Ready” for example).
As this effectively allows to skip certain initializers or the entire initialization phase, potential integrations with external systems such as billing or security could be affected. Their initializers could be skipped by a WorkspaceType
that adds another initializer and grants permissions to the virtual workspace to a rogue or compromised entity.
Who is impacted?
- Impacts other owners of
WorkspaceTypes
with initializers that are inherited by otherWorkspaceTypes
. - Impacts developers using the
virtual/framework
package to create their own virtualworkspaces if they are using UpdateFuncs in their custom storageWrappers.
References
Code Behaviors & Features
Detect and mitigate GHSA-q6hv-wcjr-wp8h with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →