Insecure Inherited Permissions Affecting github.com/kubewarden/kubewarden-controller/api/policies/v1 package, versions >=1.17.0 <1.21.0-rc2


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 IDSNYK-GOLANG-GITHUBCOMKUBEWARDENKUBEWARDENCONTROLLERAPIPOLICIESV1-8685111
  • published2 Feb 2025
  • disclosed31 Jan 2025
  • creditFlavio Castelli

Introduced: 31 Jan 2025

NewCVE-2025-24784  (opens in a new tab)
CWE-277  (opens in a new tab)

How to fix?

Upgrade github.com/kubewarden/kubewarden-controller/api/policies/v1 to version 1.21.0-rc2 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Inherited Permissions through the ClusterAdmissionPolicyGroup resource, which can be configured as part of a context-aware policy that allows a low-privileged user to read information on resources that are available to the ServiceAccount but not them. If the ServiceAccount has higher privileges than them this will expose unintended resources according to its configured access.

References

CVSS Scores

version 4.0
version 3.1