Improper Authorization Affecting github.com/kcp-dev/kcp/pkg/virtual/apiexport/options package, versions <0.26.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKCPDEVKCPPKGVIRTUALAPIEXPORTOPTIONS-9563907
  • published28 Mar 2025
  • disclosed20 Mar 2025
  • creditMarko Mudrinić

Introduced: 20 Mar 2025

NewCVE-2025-29922  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/kcp-dev/kcp/pkg/virtual/apiexport/options to version 0.26.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization through the APIExport VirtualWorkspace. An attacker can create and delete objects in arbitrary target workspaces without the necessary permissions by exploiting this vulnerability.

Workaround

This vulnerability can be mitigated by minimizing the set of people with apiexport/content sub-resource access to APIExport resources across all workspaces and filtering incoming requests in a reverse proxy with logic similar to the authorizer added in the referenced pull request.

CVSS Base Scores

version 4.0
version 3.1