{"id":"CVE-2025-54469","aliases":["CVE-2025-54469","GHSA-c8g6-qrwh-m3vp","GO-2025-4042"],"related":["CGA-4gmp-5mqx-7vmr"],"kind":"vulnerability","state":"published","title":"NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow","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.\n\n\nThe entry process of the enforcer container is the monitor\n process. When the enforcer container stops, the monitor process checks \nwhether the consul subprocess has exited. To perform this check, the \nmonitor process uses the popen function to execute a shell command that determines whether the ports used by the consul subprocess are still active.\n\n\nThe values of environment variables CLUSTER_RPC_PORT and CLUSTER_LAN_PORT\n are used directly to compose shell commands via popen without \nvalidation or sanitization.  This behavior could allow a malicious user \nto inject malicious commands through these variables within the enforcer\n container.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\nThe entry process of the enforcer container is the monitor\n process. When the enforcer container stops, the monitor process checks \nwhether the consul subprocess has exited. To perform this check, the \nmonitor process uses the popen function to execute a shell command that determines whether the ports used by the consul subprocess are still active.\n\n\nThe values of environment variables CLUSTER_RPC_PORT and CLUSTER_LAN_PORT\n are used directly to compose shell commands via popen without \nvalidation or sanitization.  This behavior could allow a malicious user \nto inject malicious commands through these variables within the enforcer\n container.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\nThe 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.\n\nThe 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.\n\nIn 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.\n\nIf validation fails, the monitor process exits immediately, causing the enforcer container to terminate. This prevents the execution of any injected or malicious commands.\n\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).","format":"markdown","source":"ghsa"},{"lang":"en","text":"NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow in github.com/neuvector/neuvector.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/neuvector/neuvector from v5.3.0 before v5.3.5, from v5.4.0 before v5.4.7.","format":"markdown","source":"go"},{"lang":"es","text":"Se identificó una vulnerabilidad en NeuVector, donde el enforcer usó las variables de entorno CLUSTER_RPC_PORT y CLUSTER_LAN_PORT para generar un comando a ser ejecutado vía popen, sin sanitizar primero sus valores.\n\nEl proceso de entrada del contenedor del enforcer es el proceso monitor. Cuando el contenedor del enforcer se detiene, el proceso monitor verifica si el subproceso consul ha terminado. Para realizar esta verificación, el proceso monitor usa la función popen para ejecutar un comando de shell que determina si los puertos usados por el subproceso consul aún están activos.\n\nLos valores de las variables de entorno CLUSTER_RPC_PORT y CLUSTER_LAN_PORT son usados directamente para componer comandos de shell vía popen sin validación o sanitización. Este comportamiento podría permitir a un usuario malintencionado inyectar comandos maliciosos a través de estas variables dentro del contenedor del enforcer.","source":"nvd"}],"published":"2025-10-21T20:25:11.000Z","modified":"2026-10-18T00:10:00.123Z","severity":{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-77","CWE-78","CWE-120"],"affected":[{"ranges":[{"type":"semver","introduced":"5.3.0","fixed":"5.3.5","status":"affected"},{"type":"semver","introduced":"5.4.0","fixed":"5.4.7","status":"affected"},{"type":"semver","introduced":"0.0.0-20230727023453-1c4957d53911","fixed":"0.0.0-20251020133207-084a437033b4","status":"affected"}],"vendor":"SUSE","product":"neuvector","package":"github.com/neuvector/neuvector","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.3.0","status":"affected","fixed":"5.3.5"}],"ecosystem":"Go","package":"github.com/neuvector/neuvector","purl":"pkg:golang/github.com/neuvector/neuvector","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.4.0","status":"affected","fixed":"5.4.7"}],"ecosystem":"Go","package":"github.com/neuvector/neuvector","purl":"pkg:golang/github.com/neuvector/neuvector","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-20230727023453-1c4957d53911","status":"affected","fixed":"0.0.0-20251020133207-084a437033b4"}],"ecosystem":"Go","package":"github.com/neuvector/neuvector","purl":"pkg:golang/github.com/neuvector/neuvector","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-20230727023453-1c4957d53911","status":"affected","fixed":"0.0.0-20251020133207-084a437033b4"}],"ecosystem":"Go","package":"github.com/neuvector/neuvector","purl":"pkg:golang/github.com/neuvector/neuvector","source":"go"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54469","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/neuvector/neuvector/security/advisories/GHSA-c8g6-qrwh-m3vp","tags":["advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54469","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/neuvector/neuvector","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"suse","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-31T03:55:27.626Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54469","url":"https://www.cve.org/CVERecord?id=CVE-2025-54469","licence":"CVE Terms of Use","modified":"2026-02-26T16:56:51.925Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c8g6-qrwh-m3vp","url":"https://github.com/advisories/GHSA-c8g6-qrwh-m3vp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:29.673Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4042","url":"https://pkg.go.dev/vuln/GO-2025-4042","licence":"CC-BY-4.0","modified":"2026-02-04T03:20:07.954Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54469","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54469","licence":"Public domain","modified":"2026-10-18T00:10:00.123Z"}],"updatedAt":"2026-11-25T22:59:07.040Z","epss":{"score":0.00482,"percentile":0.43219,"date":"2026-12-01T12:00:22.000Z"}}