Vulnerabilities in pkg:golang/github.com/kubernetes-csi/csi-proxy

PACKAGE
Advisory Identifier: GHSA-r6cc-7wj7-gfx2
Advisory Summary

CVE-2023-3893 is a HIGH (CVSS 8.8) kubernetes csi-proxy vulnerable to privilege vulnerability (CWE-20: Improper Input Validation) affecting Github.com/kubernetes csi/csi proxy/v2 libraries in the Go ecosystem. The issue involves kubernetes csi-proxy vulnerable to privilege escalation due to improper input validation. Remediation is available by upgrading affected packages to version 2.0.0-alpha.1, 1.1.3, 0.0.0-20230821192013-2523e6674ded, 1.1.3-0.20230821192013-2523e6674ded.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/kubernetes-csi/csi-proxy

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/kubernetes-csi/csi-proxy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-r6cc-7wj7-gfx2 CVE-2023-3893 HIGH Kubernetes csi-proxy vulnerable to privilege escalation due to improper input validation

CVE-2023-3893 at a Glance

CVE Identifier CVE-2023-3893
GHSA Identifier GHSA-r6cc-7wj7-gfx2
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/kubernetes csi/csi proxy/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

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:H/A:H).

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

How to Fix CVE-2023-3893

To remediate this vulnerability, upgrade all affected Github.com/kubernetes csi/csi proxy/v2 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/kubernetes-csi/csi-proxy/v2 fixed: 2.0.0-alpha.1
Upgrade github.com/kubernetes-csi/csi-proxy/v2 to 2.0.0-alpha.1
github.com/kubernetes-csi/csi-proxy fixed: 1.1.3
Upgrade github.com/kubernetes-csi/csi-proxy to 1.1.3
github.com/kubernetes-csi/csi-proxy fixed: 0.0.0-20230821192013-2523e6674ded
Upgrade github.com/kubernetes-csi/csi-proxy to 0.0.0-20230821192013-2523e6674ded
github.com/kubernetes-csi/csi-proxy fixed: 1.1.3-0.20230821192013-2523e6674ded
Upgrade github.com/kubernetes-csi/csi-proxy to 1.1.3-0.20230821192013-2523e6674ded
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/kubernetes-csi/csi-proxy/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-3893, inspect your project dependencies for Github.com/kubernetes csi/csi proxy/v2:

inspect dependencies for github.com/kubernetes-csi/csi-proxy/v2

Analyze the terminal output to locate any version of Github.com/kubernetes csi/csi proxy/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0-alpha.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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/kubernetes csi/csi proxy/v2, 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

Kubernetes is vulnerable to privilege escalation when a user that can create pods on Windows nodes running kubernetes-csi-proxy may be able to escalate to admin privileges on those nodes. Kubernetes clusters are only affected if they include Windows nodes running kubernetes-csi-proxy.

CVE-2023-3893 Affected Github.com/kubernetes csi/csi proxy/v2 Versions

4 component(s)
Fixed Versions:
2.0.0-alpha.11.1.30.0.0-20230821192013-2523e6674ded1.1.3-0.20230821192013-2523e6674ded
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kubernetes-csi/csi-proxy/v2
Go
≥ 2.0.0-alpha.0
< 2.0.0-alpha.1
All 1 versions
2.0.0-alpha.0
2.0.0-alpha.1
github.com/kubernetes-csi/csi-proxy
Go
≥ 0.1.0-rc1
< 1.1.3
1.1.3
github.com/kubernetes-csi/csi-proxy
Go
< 0.0.0-20230821192013-2523e6674ded
0.0.0-20230821192013-2523e6674ded
github.com/kubernetes-csi/csi-proxy
Go
≥ 1.1.3-0
< 1.1.3-0.20230821192013-2523e6674ded
1.1.3-0.20230821192013-2523e6674ded

References

Frequently Asked Questions

What is CVE-2023-3893?
CVE-2023-3893 is a security vulnerability in Github.com/kubernetes csi/csi proxy/v2 involving Kubernetes csi-proxy vulnerable to privilege escalation due to improper input validation under CWE-20: Improper Input Validation.
Which Github.com/kubernetes csi/csi proxy/v2 versions are affected?
Affected versions include releases prior to 2.0.0-alpha.1, 1.1.3, 0.0.0-20230821192013-2523e6674ded, 1.1.3-0.20230821192013-2523e6674ded across affected packages: github.com/kubernetes-csi/csi-proxy/v2, github.com/kubernetes-csi/csi-proxy.
What version fixes CVE-2023-3893?
Upgrading to 2.0.0-alpha.1, 1.1.3, 0.0.0-20230821192013-2523e6674ded, 1.1.3-0.20230821192013-2523e6674ded (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kubernetes-csi/csi-proxy/v2 affected?
Yes, github.com/kubernetes-csi/csi-proxy/v2 is affected in releases prior to 2.0.0-alpha.1. Upgrade your dependency to 2.0.0-alpha.1 or later.
Is github.com/kubernetes-csi/csi-proxy affected?
Yes, github.com/kubernetes-csi/csi-proxy is affected in releases prior to 1.1.3, 0.0.0-20230821192013-2523e6674ded, 1.1.3-0.20230821192013-2523e6674ded. Upgrade your dependency to 1.1.3, 0.0.0-20230821192013-2523e6674ded, 1.1.3-0.20230821192013-2523e6674ded or later.
What is the CVSS score of CVE-2023-3893?
CVE-2023-3893 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-3893?
CVE-2023-3893 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Go dependencies for CVE-2023-3893?
Run the dependency tree command: 'inspect dependencies for github.com/kubernetes-csi/csi-proxy/v2'. 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-r6cc-7wj7-gfx2",
  "modified" : "2025-07-09T15:32:55Z",
  "published" : "2023-11-03T18:30:24Z",
  "aliases" : [ "CVE-2023-3893" ],
  "summary" : "Kubernetes csi-proxy vulnerable to privilege escalation due to improper input validation",
  "details" : "Kubernetes is vulnerable to privilege escalation when a user that can create pods on Windows nodes running kubernetes-csi-proxy may be able to escalate to admin privileges on those nodes. Kubernetes clusters are only affected if they include Windows nodes running kubernetes-csi-proxy.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubernetes-csi/csi-proxy/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-alpha.0"
      }, {
        "fixed" : "2.0.0-alpha.1"
      } ]
    } ],
    "versions" : [ "2.0.0-alpha.0" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubernetes-csi/csi-proxy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.0-rc1"
      }, {
        "fixed" : "1.1.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubernetes-csi/csi-proxy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20230821192013-2523e6674ded"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubernetes-csi/csi-proxy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.3-0"
      }, {
        "fixed" : "1.1.3-0.20230821192013-2523e6674ded"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3893"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/issues/119594"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes-csi/csi-proxy/commit/0e83a68159111e4ee510f5aa56d47ba97bda60c7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes-csi/csi-proxy/commit/2523e6674dedf3de27f84235efec28555da24664"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kubernetes-csi/csi-proxy"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/g/kubernetes-security-announce/c/lWksE2BoCyQ"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20231221-0004"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-03T20:42:49Z",
    "nvd_published_at" : "2023-11-03T18:15:08Z"
  }
}