Improper Access Control Affecting github.com/cilium/cilium/pkg/k8s/watchers package, versions <1.12.14>=1.13.0 <1.13.7>=1.14.0 <1.14.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (11th percentile)

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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCILIUMCILIUMPKGK8SWATCHERS-5920078
  • published5 Oct 2023
  • disclosed26 Sept 2023
  • creditOdin Ugedal

Introduced: 26 Sep 2023

CVE-2023-39347  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/cilium/cilium/pkg/k8s/watchers to version 1.12.14, 1.13.7, 1.14.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to incorrect use of user-provided pod labels in the pod update function. An attacker can manipulate pod labels to cause incorrect application of network policies by exploiting the system's reliance on user-provided pod labels for policy selection. Non-existent construct names can be provided, bypassing all network policies applicable to the construct.

Note: This is only exploitable if the attacker has Kubernetes API Server access.

References

CVSS Scores

version 3.1