Privilege Escalation Affecting github.com/clastix/capsule/pkg/webhook package, versions <0.1.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.94% (60th percentile)

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-GITHUBCOMCLASTIXCAPSULEPKGWEBHOOK-3153505
  • published4 Dec 2022
  • disclosed4 Dec 2022
  • creditMaxFedotov

Introduced: 4 Dec 2022

CVE-2022-46167  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade github.com/clastix/capsule/pkg/webhook to version 0.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation. An attacker could detach the Namespace from a Tenant that is forbidden to start privileged Pods using the Pod Security labels by removing the OwnerReference, removing the enforcement labels, and being able to start privileged containers, triggering generic Kubernetes privilege escalation.

CVSS Base Scores

version 3.1