Vulnerability · Published Aug 20, 2024 · Assigned by GitHub_M

CVE-2024-39690Capsule tenant owner with "patch namespace" permission can hijack system namespaces

High 8.5

In plain English

A high-severity incorrect authorization in capsule from projectcapsule. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Capsule is a multi-tenancy and policy-based framework for Kubernetes. In Capsule v0.7.0 and earlier, the tenant-owner can patch any arbitrary namespace that has not been taken over by a tenant (i.e., namespaces without the ownerReference field), thereby gaining control of that namespace. Version 0.7.1 contains a patch.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/projectcapsule/capsule0.7.1GHSA-mq69-4j5w-3qwp
Gogithub.com/projectcapsule/capsuleno fix listedGO-2024-3077

Affected products (as reported)

VendorProductVersions
projectcapsule capsule <= 0.7.0

Weakness: CWE-863 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

References