Vulnerability in github.com/cilium/cilium

github.com/cilium/cilium Updated 02 Oct 2025

Summary

21/08/2024
N/A
Yes i
Unrated
Not published

GO-2022-0959: Network Policies & (Clusterwide) Cilium Network Policies with namespace label selectors may unexpectedly select pods with maliciously crafted labels in github.com/cilium/cilium. Affects github.com/cilium/cilium across 3 version ranges.

< 1.10.14 >= 1.11.0, < 1.11.8 >= 1.12.0, < 1.12.1

Fixed in 1.10.14, 1.11.8 or 1.12.1, depending on the release line you run. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package github.com/cilium/cilium is written in Go and is used for Network Policies and Clusterwide Cilium Network Policies. It provides functionality for selecting pods based on namespace label selectors. However, a vulnerability has been discovered in this package that allows the selection of pods with maliciously crafted labels.

Vulnerability Detail

The vulnerability in github.com/cilium/cilium occurs when Network Policies or Clusterwide Cilium Network Policies with namespace label selectors unexpectedly select pods with maliciously crafted labels. This can lead to unauthorized access or manipulation of pods by an attacker. The vulnerability affects versions 0.0.0 to 1.10.14, 1.11.0 to 1.11.8, and 1.12.0 to 1.12.1 of the package.

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.10.14 1.10.14
    go get github.com/cilium/cilium@v1.10.14
  • >= 1.11.0, < 1.11.8 1.11.8
    go get github.com/cilium/cilium@v1.11.8
  • >= 1.12.0, < 1.12.1 1.12.1
    go get github.com/cilium/cilium@v1.12.1

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 the package.

Conclusion

The vulnerability in github.com/cilium/cilium allows the selection of pods with malicious labels, which can result in unauthorized access or manipulation of pods. It is crucial to update to the fixed versions (1.10.14, 1.11.8, or 1.12.1) of the package to mitigate this vulnerability.

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

Share this vulnerability

FAQ

This vulnerability allows attackers to select pods with malicious labels, potentially leading to unauthorized access or manipulation of pods.

Versions 0.0.0 to 1.10.14, 1.11.0 to 1.11.8, and 1.12.0 to 1.12.1 of the package are affected.

No, there are no known workarounds for this vulnerability. It is recommended to update to the fixed versions of the package.

To update to the fixed version, you can use the package manager or dependency management tool for your Go project and specify the desired version (1.10.14, 1.11.8, or 1.12.1) of github.com/cilium/cilium.

You can find more information about this vulnerability in the vulnerability database entry at https://pkg.go.dev/vuln/GO-2022-0959.

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.10.14 1.10.14
    go get github.com/cilium/cilium@v1.10.14
  • >= 1.11.0, < 1.11.8 1.11.8
    go get github.com/cilium/cilium@v1.11.8
  • >= 1.12.0, < 1.12.1 1.12.1
    go get github.com/cilium/cilium@v1.12.1

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