Skip to content

← Public intelligence

Go package

github.com/clastix/capsule-proxy

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8GoPublished

    Capsule Proxy Authentication bypass using an empty token

    CVE-2023-48312 · GHSA-fpvw-6m5v-hqfp

    Affected
    • Go github.com/clastix/capsule-proxy <= 0.4.5
    Fixed in
    0.4.6· Vendor fix available
    Issue
    The privilege escalation is based on a missing check if the user is authenticated based on the TokenReview result. All the clusters running with the anonymous-auth Kubernetes API Server setting disable (set to false) are affected since it would be possible to bypass the token review mechanism, interacting with the upper Kubernetes API Server. PoC Start a KinD cluster with the anonymous-auth value to false. If it is true, it uses anonymous permissions which are very limited by default Install capsule and capsule-proxy Then query the proxy Impact The whole cluster is exposed to unauthorised users. This privilege escalation cannot be exploited if you're relying only on client certificates (SSL/TLS).

    Recommended action: Upgrade to 0.4.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 8.8GoPublished

    Improper Authentication in Capsule Proxy

    CVE-2022-23652 · GHSA-9cwv-cppx-mqjm

    Affected
    • Go github.com/clastix/capsule-proxy < 0.2.1
    Fixed in
    0.2.1· Vendor fix available
    Issue
    Impact Using a malicious Connection header, an attacker with a proper authentication mechanism could start a privilege escalation towards the Kubernetes API Server, being able to exploit the cluster-admin Role bound to capsule-proxy. Patches Patch has been merged in the v0.2.1 release. Workarounds Upgrading is mandatory.

    Recommended action: Upgrade to 0.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →