Tainted flow: 'cmd_cert' from input (line 258, user input) → subprocess.run (code execution)
Critical
- Category
- Data Flow
- Content
"openssl", "pkcs12", "-in", str(p12_path), "-clcerts", "-nokeys", "-out", str(cert_tmp), "-passin", "stdin" ] res = subprocess.run(cmd_cert, input=p12_password.encode("utf-8"), capture_output=True) if res.returncode != 0: print(f"❌ Неверный пароль от .p12 или повреждённый файл: {res.stderr.decode()}", file=sys.stderr) sys.exit(1)- Confidence
- 90% confidence
- Finding
- External input (network, user) flows to a code execution sink. This enables remote code execution or command injection.
