Skip to content
OpenAdvisories
Unscored CVE-2004-1051 EUVD-2004-1049GHSA-792w-v225-x939

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that hav…

Published Nov 18, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.6.8p3-1 —
Debian 13 sudo 1.6.8p3-1 —
Debian 12 sudo 1.6.8p3-1 —
Debian 3.0 sudo 1.6.6-1.3 DSA-596-2

Advisories 1

References