Skip to main content
← All vulnerabilities
CVE-2025-54469GHSA-C8G6-QRWH-M3VPGO-2025-4042

NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.3.5, 5.4.7, 0.0.0-20251020133207-084a437033b4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • github.com/neuvector/neuvector

    From 5.3.0 · fixed in 5.3.5; From 5.4.0 · fixed in 5.4.7; From 0.0.0-20230727023453-1c4957d53911 · fixed in 0.0.0-20251020133207-084a437033b4

  • github.com/neuvector/neuvectorGo

    From 5.3.0 · fixed in 5.3.5

  • github.com/neuvector/neuvectorGo

    From 5.4.0 · fixed in 5.4.7

  • github.com/neuvector/neuvectorGo

    From 0.0.0-20230727023453-1c4957d53911 · fixed in 0.0.0-20251020133207-084a437033b4

References 2

bugzilla.suse.com

GitHub · neuvector/neuvector