CVE-2006-0151

NameCVE-2006-0151
Descriptionsudo 1.6.8 and other versions does not clear the PYTHONINSPECT environment variable, which allows limited local users to gain privileges via a Python script, a variant of CVE-2005-4158.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-946-2

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)bullseye (security), bullseye1.9.5p2-3+deb11u1fixed
bookworm1.9.13p3-1+deb12u1fixed
sid, trixie1.9.15p5-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosourcewoody1.6.6-1.6DSA-946-2
sudosourcesarge1.6.8p7-1.4DSA-946-2
sudosource(unstable)1.6.8p12-1medium

Notes

The whole black list approach is flawed, for the DSA we'll switch to
a white list approach of known to be safe env vars.

Search for package or bug name: Reporting problems