CVE-2022-29178: Access to Unix domain socket can lead to privileges escalation in Cilium
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40627%
CWE
Published
5/24/2022
Updated
1/27/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/cilium/cilium | go | >= 1.11.0, < 1.11.5 | 1.11.5 |
github.com/cilium/cilium | go | >= 1.10.0, < 1.10.11 | 1.10.11 |
github.com/cilium/cilium | go | < 1.9.16 | 1.9.16 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from Cilium's Unix socket being accessible to group ID 1000. The patches show Dockerfile
changes removing 'cilium' group creation and runtime command modifications. While no direct Go
code changes are shown in provided patches, the default group change implies: 1) The main agent process
ran with GID 1000 (visible in process
trees) 2) Socket creation functions
would appear in stack traces when handling API requests. The high-confidence main()
identification comes from Docker
context changes affecting runtime privileges, while the socket creation function
is inferred from standard socket handling patterns in Cilium's architecture.