CVE-2025-54471: Github.com/neuvector/neuvector NeuVector Is Shipping Cryptographic Material Vulnerability

MODERATE
Advisory Identifier: GHSA-h773-7gf7-9m2x
CVSS 6.5
CWE-321
Published
Advisory Summary

CVE-2025-54471 is a MODERATE (CVSS 6.5) neuvector is shipping cryptographic material vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) affecting Github.com/neuvector/neuvector libraries in the Go ecosystem. The issue involves neuvector is shipping cryptographic material into its binary. Remediation is available by upgrading affected packages to version 5.4.7, 0.0.0-20251020133207-084a437033b4.

CVE-2025-54471 at a Glance

CVE Identifier CVE-2025-54471
GHSA Identifier GHSA-h773-7gf7-9m2x
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-321: Use of Hard-coded Cryptographic Key
Affected Product Github.com/neuvector/neuvector
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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 None (I:N)
Availability None (A:N)

How to Fix CVE-2025-54471

To remediate this vulnerability, upgrade all affected Github.com/neuvector/neuvector 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/neuvector/neuvector fixed: 5.4.7
Upgrade github.com/neuvector/neuvector to 5.4.7
github.com/neuvector/neuvector fixed: 0.0.0-20251020133207-084a437033b4
Upgrade github.com/neuvector/neuvector to 0.0.0-20251020133207-084a437033b4
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/neuvector/neuvector

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-54471, inspect your project dependencies for Github.com/neuvector/neuvector:

inspect dependencies for github.com/neuvector/neuvector

Analyze the terminal output to locate any version of Github.com/neuvector/neuvector in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.7), 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-321: Use of Hard-coded Cryptographic Key, where the product uses a hard-coded, unchangeable cryptographic key. In Github.com/neuvector/neuvector, 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 NeuVector used a hard-coded cryptographic key embedded in the source code. At compilation time, the key value was replaced with the secret key value and used to encrypt sensitive configurations when NeuVector stores the data. In the patched version, NeuVector leverages the Kubernetes secret `neuvector-store-secret` in `neuvector` namespace to dynamically generate cryptographically secure random keys. This approach removes the reliance on static key values and ensures that encryption keys are managed securely within Kubernetes. During rolling upgrade or restoring from persistent storage, the NeuVector controller checks each encrypted configured field. If a sensitive field in the configuration is found to be encrypted by the default encryption key, it’s decrypted with the default encryption key and then re-encrypted with the new dynamic encryption key. If the NeuVector controller does not have the correct RBAC for accessing the new secret, it writes this error log : `Required Kubernetes RBAC for secrets are not found` and exits. The device encryption key is rotated every 3 months. For details, please refer to this [Rotating Self-Signed Certificate](https://open-docs.neuvector.com/configuration/console/certrotate) documentation. ### Patches Patched versions include release **v5.4.7** and above. ### Workarounds There is no workaround for this issue. Users are recommended to upgrade, as soon as possible, to a version of NeuVector that contains the fix. ### References If you have any questions or comments about this advisory: - Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries. - Open an issue in the [NeuVector](https://github.com/neuvector/neuvector/issues/new/choose) repository. - Verify with our [support matrix](https://www.suse.com/suse-neuvector/support-matrix/all-supported-versions/neuvector-v-all-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-security).

CVE-2025-54471 Affected Github.com/neuvector/neuvector Versions

2 component(s)
Fixed Versions:
5.4.70.0.0-20251020133207-084a437033b4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/neuvector/neuvector
Go
≥ 5.3.0
< 5.4.7
5.4.7
github.com/neuvector/neuvector
Go
≥ 0.0.0-20230727023453-1c4957d53911
< 0.0.0-20251020133207-084a437033b4
0.0.0-20251020133207-084a437033b4

References

Frequently Asked Questions

What is CVE-2025-54471?
CVE-2025-54471 is a security vulnerability in Github.com/neuvector/neuvector involving NeuVector is shipping cryptographic material into its binary under CWE-321: Use of Hard-coded Cryptographic Key.
Which Github.com/neuvector/neuvector versions are affected?
Affected versions include releases prior to 5.4.7, 0.0.0-20251020133207-084a437033b4 across affected packages: github.com/neuvector/neuvector.
What version fixes CVE-2025-54471?
Upgrading to 5.4.7, 0.0.0-20251020133207-084a437033b4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/neuvector/neuvector affected?
Yes, github.com/neuvector/neuvector is affected in releases prior to 5.4.7, 0.0.0-20251020133207-084a437033b4. Upgrade your dependency to 5.4.7, 0.0.0-20251020133207-084a437033b4 or later.
What is the CVSS score of CVE-2025-54471?
CVE-2025-54471 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-54471?
CVE-2025-54471 is classified under CWE-321: Use of Hard-coded Cryptographic Key (The product uses a hard-coded, unchangeable cryptographic key.).
How can I check Go dependencies for CVE-2025-54471?
Run the dependency tree command: 'inspect dependencies for github.com/neuvector/neuvector'. 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-h773-7gf7-9m2x",
  "modified" : "2025-10-30T17:58:58Z",
  "published" : "2025-10-21T20:26:25Z",
  "aliases" : [ "CVE-2025-54471" ],
  "summary" : "NeuVector is shipping cryptographic material into its binary",
  "details" : "### Impact\nNeuVector used a hard-coded cryptographic key embedded in the source code. At compilation time, the key value was replaced with the secret key value and used to encrypt sensitive configurations  when NeuVector stores the data.\n\nIn the patched version, NeuVector leverages the Kubernetes secret `neuvector-store-secret` in `neuvector` namespace to dynamically generate cryptographically secure random keys. This approach removes the reliance on static key values and ensures that encryption keys are managed securely within Kubernetes.\n\nDuring rolling upgrade or restoring from persistent storage, the NeuVector controller checks each encrypted configured field. If a sensitive field in the configuration is found to be encrypted by the default encryption key, it’s decrypted with the default encryption key and then re-encrypted with the new dynamic encryption key.\n\nIf the NeuVector controller does not have the correct RBAC for accessing the new secret, it writes this error log : \n`Required Kubernetes RBAC for secrets are not found` and exits.\n\nThe device encryption key is rotated every 3 months. For details, please refer to this [Rotating Self-Signed Certificate](https://open-docs.neuvector.com/configuration/console/certrotate) documentation.\n\n### Patches\nPatched versions include release **v5.4.7** and above.\n\n### Workarounds\nThere is no workaround for this issue. Users are recommended to upgrade, as soon as possible, to a version of NeuVector that contains the fix.\n\n### References\nIf you have any questions or comments about this advisory:\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [NeuVector](https://github.com/neuvector/neuvector/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-neuvector/support-matrix/all-supported-versions/neuvector-v-all-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-security).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/neuvector/neuvector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.3.0"
      }, {
        "fixed" : "5.4.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.4.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/neuvector/neuvector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20230727023453-1c4957d53911"
      }, {
        "fixed" : "0.0.0-20251020133207-084a437033b4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/neuvector/neuvector/security/advisories/GHSA-h773-7gf7-9m2x"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54471"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/neuvector/neuvector/commit/084a437033b491eeea11bdba1a09dd84ed12ea88"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54471"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/neuvector/neuvector"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-21T20:26:25Z",
    "nvd_published_at" : "2025-10-30T10:15:35Z"
  }
}