NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.3.5, 5.4.7, 0.0.0-20251020133207-084a437033b4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- 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