CVE-2023-30617: Github.com/openkruise/kruise Kruise Allows Leveraging The Kruise-daemon Vulnerability
MODERATECVE-2023-30617 is a MODERATE (CVSS 6.5) kruise allows leveraging the kruise-daemon vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/openkruise/kruise libraries in the Go ecosystem. The issue involves kruise allows leveraging the kruise-daemon pod to list all secrets in the entire cluster. Remediation is available by upgrading affected packages to version 1.3.1, 1.4.1, 1.5.2.
CVE-2023-30617 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2023-30617
To remediate this vulnerability, upgrade all affected Github.com/openkruise/kruise 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/openkruise/kruise to 1.3.1
Upgrade github.com/openkruise/kruise to 1.4.1
Upgrade github.com/openkruise/kruise to 1.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openkruise/kruise
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-30617, inspect your project dependencies for Github.com/openkruise/kruise:
inspect dependencies for github.com/openkruise/kruise
Analyze the terminal output to locate any version of Github.com/openkruise/kruise in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.1), 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/openkruise/kruise, 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-2023-30617 Affected Github.com/openkruise/kruise Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openkruise/kruise
|
Go |
≥ 0.8.0
< 1.3.1
|
1.3.1
|
|
github.com/openkruise/kruise
|
Go |
≥ 1.4.0
< 1.4.1
|
1.4.1
|
|
github.com/openkruise/kruise
|
Go |
≥ 1.5.0
< 1.5.2
|
1.5.2
|
References
Frequently Asked Questions
What is CVE-2023-30617?
Which Github.com/openkruise/kruise versions are affected?
What version fixes CVE-2023-30617?
Is github.com/openkruise/kruise affected?
What is the CVSS score of CVE-2023-30617?
What CWE is associated with CVE-2023-30617?
How can I check Go dependencies for CVE-2023-30617?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-437m-7hj5-9mpw",
"modified" : "2024-01-05T16:01:24Z",
"published" : "2024-01-05T16:01:24Z",
"aliases" : [ "CVE-2023-30617" ],
"summary" : "Kruise allows leveraging the kruise-daemon pod to list all secrets in the entire cluster",
"details" : "### Impact\nAttacker that has gain root privilege of the node that kruise-daemon run , can leverage the kruise-daemon pod to list all secrets in the entire cluster. After that, attackers can leverage the \"captured\" secrets (e.g. the kruise-manager service account token) to gain extra privilege such as pod modification. \n\n### Workarounds\nFor users that do not require imagepulljob functions, they can modify kruise-daemon-role to drop the cluster level secret get/list privilege \n\n### Patches\n\nFor users who're using v0.8.x ~ v1.2.x, please update the v1.3.1\nFor users who're using v1.3, please update the v1.3.1\nFor users who're using v1.4, please update the v1.4.1\nFor users who're using v1.5, please update the v1.5.2\n### References\nNone",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openkruise/kruise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.8.0"
}, {
"fixed" : "1.3.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openkruise/kruise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openkruise/kruise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.0"
}, {
"fixed" : "1.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openkruise/kruise/security/advisories/GHSA-437m-7hj5-9mpw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30617"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openkruise/kruise"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-250", "CWE-269" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-05T16:01:24Z",
"nvd_published_at" : "2024-01-03T16:15:08Z"
}
}