CVE-2021-25740
MinimOS vulnerability analysis and mitigation

Overview

A security issue (CVE-2021-25740) was discovered in Kubernetes that could enable users to send network traffic to locations they would otherwise not have access to via a confused deputy attack. The vulnerability affects all Kubernetes versions and has been rated as Low severity with a CVSS v3.1 base score of 3.1 (Kubernetes Issue, NVD Database).

Technical details

The vulnerability is related to Endpoints and EndpointSlices permissions in the Kubernetes API. If an attacker can create or edit Endpoints or EndpointSlices, they can potentially direct a LoadBalancer or Ingress implementation to expose backend IPs they shouldn't have access to. This is particularly concerning because if the target's NetworkPolicy already trusts the Load Balancer or Ingress implementation, NetworkPolicy cannot prevent exposure from other namespaces, potentially bypassing security controls such as LoadBalancerSourceRanges (Kubernetes Discussion).

Impact

The successful exploitation of this vulnerability could lead to disclosure of sensitive information. Services with an empty selector that rely on custom endpoints are particularly vulnerable to this attack. Additionally, a similar attack is possible using Ingress implementations that support forwarding to ExternalName Services, which can be used to forward to Services in other namespaces or sensitive endpoints within the Ingress implementation (Kubernetes Issue).

Mitigation and workarounds

There is no direct patch for this issue as it is a design flaw. The recommended mitigation is to restrict write access to Endpoints and EndpointSlices by updating the system:aggregate-to-edit role. This involves removing write access to Endpoints from the admin and edit roles. For use-cases that need to edit these resources, it's recommended to create a new purpose-built Role with the desired permissions. Additionally, if using the Ingress API, it's recommended to confirm that the implementation either doesn't support forwarding to ExternalName Services or supports disabling the functionality (Kubernetes Issue).

Additional resources


SourceThis report was generated using AI

Related MinimOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64649HIGH8.3
  • Wolfi logoWolfi
  • trigger-dev
NoYesJul 27, 2026
CVE-2026-64645HIGH8.3
  • Wolfi logoWolfi
  • next
NoYesJul 27, 2026
CVE-2026-64647MEDIUM6.3
  • Wolfi logoWolfi
  • langfuse-2
NoYesJul 27, 2026
CVE-2026-64646MEDIUM6.3
  • Wolfi logoWolfi
  • langfuse-3
NoYesJul 27, 2026
CVE-2026-64648MEDIUM6
  • Wolfi logoWolfi
  • langfuse-3
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management