Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/neuvector/neuvector
  4. ›
  5. CVE-2025-54469

CVE-2025-54469: NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow

October 21, 2025 (updated October 30, 2025)

A vulnerability was identified in NeuVector, where the enforcer used environment variables CLUSTER_RPC_PORT and CLUSTER_LAN_PORT to generate a command to be executed via popen, without first sanitising their values.

The entry process of the enforcer container is the monitor process. When the enforcer container stops, the monitor process checks whether the consul subprocess has exited. To perform this check, the monitor process uses the popen function to execute a shell command that determines whether the ports used by the consul subprocess are still active.

The values of environment variables CLUSTER_RPC_PORT and CLUSTER_LAN_PORT are used directly to compose shell commands via popen without validation or sanitization. This behavior could allow a malicious user to inject malicious commands through these variables within the enforcer container.

In the patched version, the monitor process validates the values of CLUSTER_RPC_PORT and CLUSTER_LAN_PORT to ensure they contain only valid port numbers before invoking the popen command.

If validation fails, the monitor process exits immediately, causing the enforcer container to terminate. This prevents the execution of any injected or malicious commands.

References

  • bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54469
  • github.com/advisories/GHSA-c8g6-qrwh-m3vp
  • github.com/neuvector/neuvector
  • github.com/neuvector/neuvector/security/advisories/GHSA-c8g6-qrwh-m3vp
  • nvd.nist.gov/vuln/detail/CVE-2025-54469

Code Behaviors & Features

Detect and mitigate CVE-2025-54469 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.3.0 before 5.3.5, all versions starting from 5.4.0 before 5.4.7

Fixed versions

  • 5.3.5
  • 5.4.7

Solution

Upgrade to versions 5.3.5, 5.4.7 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/neuvector/neuvector/CVE-2025-54469.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 09 Nov 2025 12:19:17 +0000.