Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2020-8554 — OPA Gatekeeper-based policy templates to mitigate CVE-2020-8554 by restricting Kubernetes Service external IPs to an allow list, preventing traffic interception in multi-tenant clusters. | Kitploit
Tools/GitHubGitHub/jrmurray000/cve-2020-8554
Vulnerability ScannersContainer SecurityConfiguration AuditingCloud SecurityDevSecOpsMisconfiguration
GitHubjrmurray000/cve-2020-8554

CVE-2020-8554

OPA Gatekeeper-based policy templates to mitigate CVE-2020-8554 by restricting Kubernetes Service external IPs to an allow list, preventing traffic interception in multi-tenant clusters.

View Repository
1135 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Mitigate CVE-2020-8554 with Policy Controller

This repository contains configuration files for using Policy Controller, which is based on the open source OPA Gatekeeper project, to block Kubernetes Services from public IP access.

The security advisory for this issue states:

A security issue was discovered with Kubernetes affecting multitenant clusters. If a potential attacker can already create or edit services and pods, then they may be able to intercept traffic from other pods (or nodes) in the cluster.

This issue has been rated medium severity (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L), and assigned CVE-2020-8554.

An attacker that is able to create a ClusterIP service and set the spec.externalIPs field can intercept traffic to that IP. An attacker that is able to patch the status (which is considered a privileged operation and should not typically be granted to users) of a LoadBalancer service can set the status.loadBalancer.ingress.ip to similar effect.

This repository contains a Template and Constraint that restrict Services to a specific allow list of public IPs, thus limiting the ability of an attacker to add IPs outside of trusted values.

You can apply these policies using Policy Controller, which is included as part of Anthos Config Management. To customize the allowed IP addresses, edit or add items to the "allowedIPs" list in k8sExternalIPs_constraint.yaml.

Blocking by CIDR

If you just want to prevent an IP in a specific CIDR range use the files k8sExternalIPsCIDR_constraint.yaml and . For example, if you want to prevent an attacker from specifying the field to the default Kubernetes Services CIDR.

k8sExternalIPsCIDR_template.yaml
spec.externalIPs
Download Tool