Incorrect Authorization Affecting github.com/projectcapsule/capsule/pkg/webhook/ownerreference package, versions <0.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.54% (43rd 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROJECTCAPSULECAPSULEPKGWEBHOOKOWNERREFERENCE-7725402
  • published21 Aug 2024
  • disclosed20 Aug 2024
  • creditsparkEchooo

Introduced: 20 Aug 2024

CVE-2024-39690  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/projectcapsule/capsule/pkg/webhook/ownerreference to version 0.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the patch permission on namespaces. An attacker can gain unauthorized control over system namespaces by exploiting this permission when the ownerReference field is not set in the namespace.

References

CVSS Base Scores

version 4.0
version 3.1