{"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-51699 in the wild and no public exploit code.","fix":"Upgrade github.com/fluid-cloudnative/fluid to 0.9.3 or later.","what":"CVE-2023-51699 is a medium-severity command injection vulnerability in fluid-cloudnative fluid, published on 15 Mar 2024. 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-51699 and fix it if it is affected.\n\nWhat it is: CVE-2023-51699 is a medium-severity command injection vulnerability in fluid-cloudnative fluid, published on 15 Mar 2024. 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-51699 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/fluid-cloudnative/fluid (Go): affected all versions; fixed in 0.9.3\n- github.com/fluid-cloudnative/fluid (Go): affected all versions; fixed in 0.9.3\n- github.com/fluid-cloudnative/fluid (Go): affected all versions; fixed in 0.9.3\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-51699/ (Markdown: https://insights.sbomify.com/CVE-2023-51699/index.md)","id":"CVE-2023-51699","markdown":"https://insights.sbomify.com/CVE-2023-51699/index.md","name":"CVE-2023-51699","record":{"aliases":["GHSA-wx8q-4gm9-rj2g","GO-2024-2644"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes dataset orchestrator","requires_auth":"high_privilege","summary":"Authenticated users with CRD creation rights can execute arbitrary OS commands in JuicefsRuntime containers, leading to unauthorized data access or modification.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fluid","vendor":"linuxfoundation"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Fluid is an open source Kubernetes-native Distributed Dataset Orchestrator and Accelerator for data-intensive applications. An OS command injection vulnerability within the Fluid project's JuicefsRuntime can potentially allow an authenticated user, who has the authority to create or update the K8s CRD Dataset/JuicefsRuntime, to execute arbitrary OS commands within the juicefs related containers. This could lead to unauthorized access, modification or deletion of data. Users who're using versions \u003c 0.9.3 with JuicefsRuntime should upgrade to v0.9.3.","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":"OS Command Injection for Fluid Users with JuicefsRuntime","id":"CVE-2023-51699","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"WP-Mobile-BankID-Integration WordPress Database Deserialization: Potential for Object Injection","id":"CVE-2023-51700"},"packages":[{"ecosystem":"Go","fixed":["0.9.3"],"introduced":["0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":null,"source":"GHSA-wx8q-4gm9-rj2g"},{"ecosystem":"Go","fixed":["0.9.3"],"introduced":["0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":"pkg:golang/github.com/fluid-cloudnative/fluid","source":"GHSA-wx8q-4gm9-rj2g"},{"ecosystem":"Go","fixed":["0.9.3"],"introduced":["0"],"last_affected":[],"package":"github.com/fluid-cloudnative/fluid","purl":"pkg:golang/github.com/fluid-cloudnative/fluid","source":"GO-2024-2644"}],"prev":{"headline":"Atril's CBT comic book parsing vulnerable to Remote Code Execution","id":"CVE-2023-51698"},"products":["fluid"],"published":"2024-03-15","related":[{"cvss_score":5.8,"headline":"On a compromised node, the fluid-csi service account can be used to modify node specs","id":"CVE-2023-30840","kev_date_added":null,"published":"2023-05-08"}],"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":"2024-08-02","vendors":["fluid-cloudnative"]},"summary":"Authenticated users with CRD creation rights can execute arbitrary OS commands in JuicefsRuntime containers, leading to unauthorized data access or modification.","url":"https://insights.sbomify.com/CVE-2023-51699/"}