All rules →
Rules / C/C++
SHIELD-CPP-009

Command injection via popen

criticalC/C++CWE-78CVSS 9.8

What it detects

popen with a variable or concatenated command string can execute injected shell commands.

How to fix

Replace popen with a direct exec of a fixed program and sanitized arguments.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CPP-009: Command injection via popen — Zennoxa Shield