CVE-2024-1725: kubevirt-csi PersistentVolume Allows Access To HCP's Vulnerability
HIGHCVE-2024-1725 is a HIGH (CVSS 8.1) persistentvolume allows access to hcp's vulnerability (CWE-501: Trust Boundary Violation) affecting kubevirt-csi libraries in the Go ecosystem. The issue involves persistentvolume allows access to hcp's root node. Remediation is available by upgrading affected packages to version 0.0.0-202403081943-cc28dcbb0afc14.
CVE-2024-1725 at a Glance
Security Impact
CVSS: 8.1
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:N).
How to Fix CVE-2024-1725
To remediate this vulnerability, upgrade all affected kubevirt-csi 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/kubevirt/csi-driver to 0.0.0-202403081943-cc28dcbb0afc14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kubevirt/csi-driver
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-1725, inspect your project dependencies for kubevirt-csi:
inspect dependencies for github.com/kubevirt/csi-driver
Analyze the terminal output to locate any version of kubevirt-csi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-202403081943-cc28dcbb0afc14), 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-501: Trust Boundary Violation, where the product mixes trusted and untrusted data in the same data structure or structured message. In kubevirt-csi, 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-2024-1725 Affected kubevirt-csi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubevirt/csi-driver
|
Go |
< 0.0.0-202403081943-cc28dcbb0afc14
|
0.0.0-202403081943-cc28dcbb0afc14
|
References
Frequently Asked Questions
What is CVE-2024-1725?
Which kubevirt-csi versions are affected?
What version fixes CVE-2024-1725?
Is github.com/kubevirt/csi-driver affected?
What is the CVSS score of CVE-2024-1725?
What CWE is associated with CVE-2024-1725?
How can I check Go dependencies for CVE-2024-1725?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fg9q-5cw2-p6r9",
"modified" : "2025-03-14T19:54:12Z",
"published" : "2024-03-07T21:30:21Z",
"aliases" : [ "CVE-2024-1725" ],
"summary" : "kubevirt-csi: PersistentVolume allows access to HCP's root node",
"details" : "A flaw was found in the kubevirt-csi component of OpenShift Virtualization's Hosted Control Plane (HCP). This issue could allow an authenticated attacker to gain access to the root HCP worker node's volume by creating a custom Persistent Volume that matches the name of a worker node.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubevirt/csi-driver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-202403081943-cc28dcbb0afc14"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1725"
}, {
"type" : "WEB",
"url" : "https://github.com/kubevirt/csi-driver/commit/cc28dcbb0afca0a7cb8a73bc998ab49f864ed560"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:1559"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:1891"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:2047"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-1725"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2265398"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubevirt/csi-driver"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3512"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-501" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-11T20:07:55Z",
"nvd_published_at" : "2024-03-07T20:15:50Z"
}
}