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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (21st 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 ID SNYK-GOLANG-GITHUBCOMPROJECTCAPSULECAPSULEPKGWEBHOOKOWNERREFERENCE-7725402
  • published 21 Aug 2024
  • disclosed 20 Aug 2024
  • credit sparkEchooo

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 Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.5 high
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Passive
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    Low
  • Confidentiality (SC)
    High
  • Integrity (SI)
    High
  • Availability (SA)
    Low