CVE-2022-29179: Github.com/cilium/cilium Improper Privilege Management Vulnerability
HIGHCVE-2022-29179 is a HIGH (CVSS 7.5) improper privilege management vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/cilium/cilium libraries in the Go ecosystem. The issue involves improper privilege management in cilium. Remediation is available by upgrading affected packages to version 1.11.5, 1.10.11, 1.9.16.
CVE-2022-29179 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2022-29179
To remediate this vulnerability, upgrade all affected Github.com/cilium/cilium dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cilium/cilium to 1.11.5
Upgrade github.com/cilium/cilium to 1.10.11
Upgrade github.com/cilium/cilium to 1.9.16
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cilium/cilium
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-29179, inspect your project dependencies for Github.com/cilium/cilium:
inspect dependencies for github.com/cilium/cilium
Analyze the terminal output to locate any version of Github.com/cilium/cilium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/cilium/cilium, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-29179 Affected Github.com/cilium/cilium Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed 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
|
References
Frequently Asked Questions
What is CVE-2022-29179?
Which Github.com/cilium/cilium versions are affected?
What version fixes CVE-2022-29179?
Is github.com/cilium/cilium affected?
What is the CVSS score of CVE-2022-29179?
What CWE is associated with CVE-2022-29179?
How can I check Go dependencies for CVE-2022-29179?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fmrf-gvjp-5j5g",
"modified" : "2022-06-06T17:57:44Z",
"published" : "2022-05-24T21:15:15Z",
"aliases" : [ "CVE-2022-29179" ],
"summary" : "Improper Privilege Management in Cilium",
"details" : "### Impact\n\nIf an attacker is able to perform a container escape of a container running as root on a host where Cilium is installed, the attacker can leverage Cilium's Kubernetes service account to gain access to cluster privileges that are more permissive than what is minimally required to operate Cilium. In affected releases, this service account had access to modify and delete `Pod` and `Node` resources. \n\n### Patches\n\nThe problem has been fixed and is available on versions >=1.9.16, >=1.10.11, >=1.11.5\n\n### Workarounds\n\nThere are no workarounds available.\n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Isovalent, Amazon and Palo Alto Networks to prepare these mitigations. Special thanks to Micah Hausler (AWS), Robert Clark (AWS), Yuval Avrahami (Palo Alto Networks), and Shaul Ben Hai (Palo Alto Networks) for their cooperation.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [security@cilium.io](mailto:security@cilium.io)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.11.0"
}, {
"fixed" : "1.11.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "1.10.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/cilium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.16"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/security/advisories/GHSA-fmrf-gvjp-5j5g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29179"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.10.11"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.11.5"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/releases/tag/v1.9.16"
}, {
"type" : "PACKAGE",
"url" : "github.com/cilium/cilium"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-24T21:15:15Z",
"nvd_published_at" : "2022-05-20T19:15:00Z"
}
}