CVE-2008-4210

NameCVE-2008-4210
Descriptionfs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1653-1

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
fai-kernelssourceetch1.17+etch.22etch3DSA-1653-1
linux-2.6sourceetch2.6.18.dfsg.1-22etch3DSA-1653-1
linux-2.6source(unstable)2.6.22-1
linux-2.6.24source(unstable)(not affected)
user-mode-linuxsourceetch2.6.18-1um-2etch.22etch3DSA-1653-1

Notes

- linux-2.6.24 <not-affected> (Vulnerable code not prsent)
easily exploitable but of limited use as the attacker already needs access to a
directory that is setgid to the group he wants to get privileges for

Search for package or bug name: Reporting problems