Skip to content

CWE-295: TLS certificate verification disabled for Kubernetes API connections (InsecureSkipVerify: true + Bearer token) #610

Description

@LeoWSY-hashblue

The K8s API client hardcodes InsecureSkipVerify: true while sending Bearer tokens (service account credentials) to the Kubernetes API server. An attacker who MITMs the connection can capture cluster admin credentials.

Remediation: Remove InsecureSkipVerify: true. Use proper TLS verification with the cluster's CA certificate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions