CVE-2025-54469: NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow
Impact A vulnerability was identified in NeuVector, where the enforcer used environment variables CLUSTERRPCPORT and CLUSTERLANPORT 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 CLUSTERRPCPORT and CLUSTERLANPORT 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 CLUSTERRPCPORT and CLUSTERLANPORT 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.
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 for security related inquiries. - Open an issue in the NeuVector repository. - Verify with our support matrix and product support lifecycle.
Other sources
A vulnerability was identified in NeuVector, where the enforcer used environment variables CLUSTERRPCPORT and CLUSTERLANPORT 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 CLUSTERRPCPORT and CLUSTERLANPORT 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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54469?
CVE-2025-54469 has not been assigned a specific severity rating yet, but it poses a risk due to unsanitized environment variable values.
How do I fix CVE-2025-54469?
To fix CVE-2025-54469, update NeuVector to version 0.0.0-20251020133207-084a437033b4, 5.4.7, or 5.3.5, depending on your installation.
What software versions are affected by CVE-2025-54469?
CVE-2025-54469 affects NeuVector versions between 0.0.0-20230727023453-1c4957d53911 and 0.0.0-20251020133207-084a437033b4, as well as versions 5.4.0 to 5.4.6 and 5.3.0 to 5.3.5.
What components use the vulnerable environment variables in CVE-2025-54469?
In CVE-2025-54469, the vulnerable environment variables are used by the enforcer component of NeuVector.
How does CVE-2025-54469 exploit environment variables?
CVE-2025-54469 exploits environment variables by using them to generate commands executed via popen without proper sanitization.