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.
Severity
Not rated by the source.
Dates
Published
2005-03-01 05:00 UTC
Modified
2026-10-21 15:47 UTC
Affected packages and fixes
sudo
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1.6.8p3-1 (ecosystem)
Fixed versions
1.6.8p3-1
Fix
Fixed version 1.6.8p3-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sudo
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 1.6.8p3-1 (ecosystem)
Fixed versions
1.6.8p3-1
Fix
Fixed version 1.6.8p3-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sudo
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 1.6.8p3-1 (ecosystem)
Fixed versions
1.6.8p3-1
Fix
Fixed version 1.6.8p3-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.