CVE Catalog

CVE-2004-1051

High
Published: Translated: NVD NIST

Summary

Vulnerability in sudo before version 1.6.8p2 allows local users to execute arbitrary commands by using '()' style environment variables to create functions with the same name as any program called within a bash script without using the full pathname.

Risk Assessment

The risk is that a local user can escalate privileges and execute arbitrary commands in the context of the user running sudo, potentially leading to full system compromise.

Recommendation

Immediately update sudo to version 1.6.8p2 or later, which fixes this vulnerability.

Related vulnerabilities

Original NVD description (English source)

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program's full pathname.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS