CVE-2023-39347: Kubernetes users may update Pod labels to bypass network policy in github.com/cilium/cilium

github.com/cilium/cilium Updated 02 Oct 2025

Summary

21/08/2024
Yes i
Moderate
5.4

CVE-2023-39347: Kubernetes users may update Pod labels to bypass network policy in github.com/cilium/cilium. Affects github.com/cilium/cilium across 3 version ranges.

< 1.12.14 >= 1.13.0, < 1.13.7 >= 1.14.0, < 1.14.2

Fixed in 1.12.14, 1.13.7 or 1.14.2, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2023-39347 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

github.com/cilium/cilium is a Go package that provides networking and security services for Kubernetes. It is used to enforce network policies and control traffic between pods in a Kubernetes cluster. However, a vulnerability has been discovered in this package that allows Kubernetes users to update Pod labels and bypass network policies.

Vulnerability Detail

The vulnerability in github.com/cilium/cilium allows unauthorized users to update Pod labels, which can be used to bypass network policies. This means that an attacker can modify the labels of a Pod to make it appear as if it belongs to a different network policy or has different access permissions. This can lead to unauthorized access to sensitive resources or the ability to bypass security controls.

How To Fix

Latest published version: v1.20.3 as of 22 Oct 2026

go get github.com/cilium/cilium@v1.20.3

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.12.14 1.12.14
    go get github.com/cilium/cilium@v1.12.14
  • >= 1.13.0, < 1.13.7 1.13.7
    go get github.com/cilium/cilium@v1.13.7
  • >= 1.14.0, < 1.14.2 1.14.2
    go get github.com/cilium/cilium@v1.14.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update to the fixed versions of github.com/cilium/cilium as soon as possible.

Conclusion

The vulnerability in github.com/cilium/cilium allows unauthorized users to bypass network policies by updating Pod labels. To mitigate this issue, users should update to the fixed versions of the package as soon as possible.

See every vulnerability recorded for github.com/cilium/cilium →

Share this vulnerability

FAQ

github.com/cilium/cilium is a Go package that provides networking and security services for Kubernetes.

This vulnerability allows unauthorized users to bypass network policies and potentially gain unauthorized access to sensitive resources.

To fix this vulnerability, update to version 1.12.14, 1.13.7, or 1.14.2 of github.com/cilium/cilium.

There are no known workarounds for this vulnerability. It is recommended to update to the fixed versions of github.com/cilium/cilium.

More information about this vulnerability can be found at the following URL: https://pkg.go.dev/vuln/GO-2023-2078

Related vulnerabilities

Recent vulnerabilities recorded for github.com/cilium/cilium.

How To Fix

Latest published version: v1.20.3 as of 22 Oct 2026

go get github.com/cilium/cilium@v1.20.3

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.12.14 1.12.14
    go get github.com/cilium/cilium@v1.12.14
  • >= 1.13.0, < 1.13.7 1.13.7
    go get github.com/cilium/cilium@v1.13.7
  • >= 1.14.0, < 1.14.2 1.14.2
    go get github.com/cilium/cilium@v1.14.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback