{"answers":{"affected":"3 open source packages ship an affected version, including github.com/fluid-cloudnative/fluid. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30840 in the wild and no public exploit code.","fix":"Upgrade github.com/fluid-cloudnative/fluid to 0.8.6 or later.","what":"CVE-2023-30840 is a medium-severity vulnerability in fluid-cloudnative fluid, published on 8 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-30840 and fix it if it is affected.\n\nWhat it is: CVE-2023-30840 is a medium-severity vulnerability in fluid-cloudnative fluid, published on 8 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-30840 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/fluid-cloudnative/fluid (Go): affected from 0.7.0; fixed in 0.8.6\n- github.com/fluid-cloudnative/fluid (Go): affected from 0.7.0; fixed in 0.8.6\n- github.com/fluid-cloudnative/fluid (Go): affected from 0.7.0; fixed in 0.8.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-30840/ (Markdown: https://insights.sbomify.com/CVE-2023-30840/index.md)","id":"CVE-2023-30840","markdown":"https://insights.sbomify.com/CVE-2023-30840/index.md","name":"CVE-2023-30840","record":{"aliases":["GHSA-93xx-cvmc-9w3v","GO-2023-1763"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes dataset orchestrator","requires_auth":"high_privilege","summary":"An attacker with node access can use the fluid-csi service account to modify node specs, escalating privileges to compromise the entire Kubernetes cluster.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fluid","vendor":"linuxfoundation"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Fluid is an open source Kubernetes-native distributed dataset orchestrator and accelerator for data-intensive applications. Starting in version 0.7.0 and prior to version 0.8.6, if a malicious user gains control of a Kubernetes node running fluid csi pod (controlled by the `csi-nodeplugin-fluid` node-daemonset), they can leverage the fluid-csi service account to modify specs of all the nodes in the cluster. However, since this service account lacks `list node` permissions, the attacker may need to use other techniques to identify vulnerable nodes.\n\nOnce the attacker identifies and modifies the node specs, they can manipulate system-level-privileged components to access all secrets in the cluster or execute pods on other nodes. This allows them to elevate privileges beyond the compromised node and potentially gain full privileged access to the whole cluster.\n\nTo exploit this vulnerability, the attacker can make all other nodes unschedulable (for example, patch node with taints) and wait for system-critical components with high privilege to appear on the compromised node. However, this attack requires two prerequisites: a compromised node and identifying all vulnerable nodes through other means.\n\nVersion 0.8.6 contains a patch for this issue. As a workaround, delete the `csi-nodeplugin-fluid` daemonset in `fluid-system` namespace and avoid using CSI mode to mount FUSE file systems. Alternatively, using sidecar mode to mount FUSE file systems is recommended.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"On a compromised node, the fluid-csi service account can be used to modify node specs","id":"CVE-2023-30840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps","id":"CVE-2023-30841"},"packages":[{"ecosystem":"Go","fixed":["0.8.6"],"introduced":["0.7.0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":null,"source":"GHSA-93xx-cvmc-9w3v"},{"ecosystem":"Go","fixed":["0.8.6"],"introduced":["0.7.0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":"pkg:golang/github.com/fluid-cloudnative/fluid","source":"GHSA-93xx-cvmc-9w3v"},{"ecosystem":"Go","fixed":["0.8.6"],"introduced":["0.7.0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":"pkg:golang/github.com/fluid-cloudnative/fluid","source":"GO-2023-1763"}],"prev":{"headline":"PrestaShop vulnerable to SQL filter bypass leading to arbitrary write requests using \"SQL Manager\"","id":"CVE-2023-30839"},"products":["fluid"],"published":"2023-05-08","related":[{"cvss_score":4,"headline":"OS Command Injection for Fluid Users with JuicefsRuntime","id":"CVE-2023-51699","kev_date_added":null,"published":"2024-03-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-29","vendors":["fluid-cloudnative"]},"summary":"An attacker with node access can use the fluid-csi service account to modify node specs, escalating privileges to compromise the entire Kubernetes cluster.","url":"https://insights.sbomify.com/CVE-2023-30840/"}