CVE-2024-6388: Sensitive Cmdline Argument Cwe214

Sensitive information such as tokens, passwords, or credentials was passed directly as a command-line argument. Command-line arguments are exposed system-wide via the process list (e.g., `/proc/[pid]/cmdline` or `ps`), allowing any local unprivileged user to observe the sensitive data. To remediate this, pass sensitive information via environment variables,

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Cβ
greprules fetch cve-2024-6388-sensitive-cmdline-argument-cwe214 --engine opengrep

Description

Sensitive information such as tokens, passwords, or credentials was passed directly as a command-line argument. Command-line arguments are exposed system-wide via the process list (e.g., `/proc/[pid]/cmdline` or `ps`), allowing any local unprivileged user to observe the sensitive data. To remediate this, pass sensitive information via environment variables,