Access Control Bypass Affecting github.com/cilium/cilium/pkg/k8s/apis/cilium.io/utils package, versions >=1.17.0 <1.17.2>=1.16.0 <1.16.8


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCILIUMCILIUMPKGK8SAPISCILIUMIOUTILS-9519222
  • published26 Mar 2025
  • disclosed24 Mar 2025
  • creditoblazek

Introduced: 24 Mar 2025

NewCVE-2025-30163  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/cilium/cilium/pkg/k8s/apis/cilium.io/utils to version 1.17.2, 1.16.8 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass due to the misconfiguration in the fromNodes and toNodes fields. By exploiting the label mismatches, an attacker can bypass network policies and access unauthorized network endpoints.

Note: This is only exploitable if the node-based network policy is enabled, as it is disabled by default.

Workaround

This vulnerability can be mitigated by ensuring that the labels used in fromNodes and toNodes fields are used exclusively by nodes and not by other endpoints.

CVSS Base Scores

version 4.0
version 3.1