CVE-2023-30512: Github.com/cubefs/cubefs CubeFS Allows Kubernetes Cluster-level Privilege Vulnerability
MODERATECVE-2023-30512 is a MODERATE (CVSS 6.5) cubefs allows kubernetes cluster-level privilege vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Github.com/cubefs/cubefs libraries in the Go ecosystem. The issue involves cubefs allows kubernetes cluster-level privilege escalation. Remediation is available in the latest vendor maintenance releases.
CVE-2023-30512 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:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-30512
To remediate this vulnerability, upgrade all affected Github.com/cubefs/cubefs 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/cubefs/cubefs to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cubefs/cubefs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-30512, inspect your project dependencies for Github.com/cubefs/cubefs:
inspect dependencies for github.com/cubefs/cubefs
Analyze the terminal output to locate any version of Github.com/cubefs/cubefs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Github.com/cubefs/cubefs, 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-30512 Affected Github.com/cubefs/cubefs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cubefs/cubefs
|
Go |
≤ 3.2.1
|
|
References
Frequently Asked Questions
What is CVE-2023-30512?
Which Github.com/cubefs/cubefs versions are affected?
What version fixes CVE-2023-30512?
Is github.com/cubefs/cubefs affected?
What is the CVSS score of CVE-2023-30512?
What CWE is associated with CVE-2023-30512?
How can I check Go dependencies for CVE-2023-30512?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9337-8c6c-c2xg",
"modified" : "2023-04-20T14:15:51Z",
"published" : "2023-04-12T06:30:22Z",
"aliases" : [ "CVE-2023-30512" ],
"summary" : "CubeFS allows Kubernetes cluster-level privilege escalation",
"details" : "CubeFS through 3.2.1 allows Kubernetes cluster-level privilege escalation. This occurs because DaemonSet has cfs-csi-cluster-role and can thus list all secrets, including the admin secret.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cubefs/cubefs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30512"
}, {
"type" : "WEB",
"url" : "https://github.com/cubefs/cubefs/issues/1882"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cubefs/cubefs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-12T20:40:15Z",
"nvd_published_at" : "2023-04-12T06:15:00Z"
}
}