CVE-2023-51699: Github.com/fluid cloudnative/fluid Fluid Vulnerable To OS Command Vulnerability

MODERATE
Advisory Identifier: GHSA-wx8q-4gm9-rj2g
CVSS 4.0
CWE-78
Published
Advisory Summary

CVE-2023-51699 is a MODERATE (CVSS 4.0) fluid vulnerable to os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Github.com/fluid cloudnative/fluid libraries in the Go ecosystem. The issue involves fluid vulnerable to os command injection for fluid users with juicefsruntime. Remediation is available by upgrading affected packages to version 0.9.3.

CVE-2023-51699 at a Glance

CVE Identifier CVE-2023-51699
GHSA Identifier GHSA-wx8q-4gm9-rj2g
Severity MODERATE
CVSS v3.1 Base Score 4.0
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Github.com/fluid cloudnative/fluid
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.0

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:R/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-51699

To remediate this vulnerability, upgrade all affected Github.com/fluid cloudnative/fluid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/fluid-cloudnative/fluid fixed: 0.9.3
Upgrade github.com/fluid-cloudnative/fluid to 0.9.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/fluid-cloudnative/fluid

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-51699, inspect your project dependencies for Github.com/fluid cloudnative/fluid:

inspect dependencies for github.com/fluid-cloudnative/fluid

Analyze the terminal output to locate any version of Github.com/fluid cloudnative/fluid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.3), 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Github.com/fluid cloudnative/fluid, 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

### Impact 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. ### Patches For users who're using version < 0.9.3 with JuicefsRuntime, upgrade to v0.9.3. ### References _Are there any links users can visit to find out more?_ ### Credits Special thanks to the discovers of this issue: Xiaozheng Zhang [xiaozheng_zhang@outlook.com](xiaozheng_zhang@outlook.com)

CVE-2023-51699 Affected Github.com/fluid cloudnative/fluid Versions

1 component(s)
Fixed Versions:
0.9.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/fluid-cloudnative/fluid
Go
< 0.9.3
0.9.3

References

Frequently Asked Questions

What is CVE-2023-51699?
CVE-2023-51699 is a security vulnerability in Github.com/fluid cloudnative/fluid involving Fluid vulnerable to OS Command Injection for Fluid Users with JuicefsRuntime under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Github.com/fluid cloudnative/fluid versions are affected?
Affected versions include releases prior to 0.9.3 across affected packages: github.com/fluid-cloudnative/fluid.
What version fixes CVE-2023-51699?
Upgrading to 0.9.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/fluid-cloudnative/fluid affected?
Yes, github.com/fluid-cloudnative/fluid is affected in releases prior to 0.9.3. Upgrade your dependency to 0.9.3 or later.
What is the CVSS score of CVE-2023-51699?
CVE-2023-51699 has a CVSS v3.1 base score of 4.0 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-51699?
CVE-2023-51699 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check Go dependencies for CVE-2023-51699?
Run the dependency tree command: 'inspect dependencies for github.com/fluid-cloudnative/fluid'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wx8q-4gm9-rj2g",
  "modified" : "2025-04-09T19:58:59Z",
  "published" : "2024-03-15T16:35:11Z",
  "aliases" : [ "CVE-2023-51699" ],
  "summary" : "Fluid vulnerable to OS Command Injection for Fluid Users with JuicefsRuntime",
  "details" : "### Impact\nOS 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.\n\n### Patches\nFor users who're using version < 0.9.3 with JuicefsRuntime, upgrade to v0.9.3.\n\n### References\n_Are there any links users can visit to find out more?_\n\n### Credits\n\nSpecial thanks to the discovers of this issue:\n\nXiaozheng Zhang [xiaozheng_zhang@outlook.com](xiaozheng_zhang@outlook.com)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fluid-cloudnative/fluid"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/fluid-cloudnative/fluid/security/advisories/GHSA-wx8q-4gm9-rj2g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-51699"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fluid-cloudnative/fluid/commit/02b7cd8b79a26092df95d625664994bda485c722"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fluid-cloudnative/fluid/commit/e0184cff8790ad000c3e8943392c7f544fad7d66"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fluid-cloudnative/fluid"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-15T16:35:11Z",
    "nvd_published_at" : "2024-03-15T19:15:06Z"
  }
}