CVE-2008-4210

Summary

CVECVE-2008-4210
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-09-29 17:17:29 UTC
Updated2026-04-23 00:35:47 UTC
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.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 2.2.27 All All All
Operating System Linux Linux Kernel 2.4.36 All All All
Operating System Linux Linux Kernel 2.4.36.1 All All All
Operating System Linux Linux Kernel 2.4.36.2 All All All
Operating System Linux Linux Kernel 2.4.36.3 All All All
Operating System Linux Linux Kernel 2.4.36.4 All All All
Operating System Linux Linux Kernel 2.4.36.5 All All All
Operating System Linux Linux Kernel 2.4.36.6 All All All
Operating System Linux Linux Kernel 2.6 All All All
Operating System Linux Linux Kernel 2.6.18 All All All
Operating System Linux Linux Kernel 2.6.18 rc1 All All
Operating System Linux Linux Kernel 2.6.18 rc2 All All
Operating System Linux Linux Kernel 2.6.18 rc3 All All
Operating System Linux Linux Kernel 2.6.18 rc4 All All
Operating System Linux Linux Kernel 2.6.18 rc5 All All
Operating System Linux Linux Kernel 2.6.18 rc6 All All
Operating System Linux Linux Kernel 2.6.18 rc7 All All
Operating System Linux Linux Kernel 2.6.19.4 All All All
Operating System Linux Linux Kernel 2.6.19.5 All All All
Operating System Linux Linux Kernel 2.6.19.6 All All All
Operating System Linux Linux Kernel 2.6.19.7 All All All
Operating System Linux Linux Kernel 2.6.20.16 All All All
Operating System Linux Linux Kernel 2.6.20.17 All All All
Operating System Linux Linux Kernel 2.6.20.18 All All All
Operating System Linux Linux Kernel 2.6.20.19 All All All
Operating System Linux Linux Kernel 2.6.20.20 All All All
Operating System Linux Linux Kernel 2.6.20.21 All All All
Operating System Linux Linux Kernel 2.6.21.5 All All All
Operating System Linux Linux Kernel 2.6.21.6 All All All
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[security-announce] SUSE Security Announcement: Linux kernel (SUSE-SA:20 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat update for kernel - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
[security-announce] SUSE Security Announcement: Kernel (SUSE-SA:2008:056 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - CVE request: kernel: open() call allows setgid bit when user is not in new file's group af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1653-1 linux-2.6 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Linux Kernel 'truncate()' Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
USN-679-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
[security-announce] SUSE Security Summary Report: SUSE-SR:2008:025 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
git.kernel.org af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
Debian update for linux-2.6 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Red Hat update for kernel - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Bug 8420 – open() call allows setgid bit when user is not in new file's group af854a3a-2127-422b-91ae-364da2661108 bugzilla.kernel.org
SUSE update for kernel - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Linux Kernel Denial of Service and Privilege Escalation - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Support / Security / Advisories / / MDVSA-2008:220 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Red hat update for kernel - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Ubuntu update for kernel - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
404: File not found af854a3a-2127-422b-91ae-364da2661108 www.kernel.org
Bug 463661 – CVE-2008-4210 kernel: open() call allows setgid bit when user is not in new file's group af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Red Hat update for kernel - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
404: File not found af854a3a-2127-422b-91ae-364da2661108 kernel.org
[security-announce] SUSE Security Announcement: Linux kernel (SUSE-SA:20 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CONFIRM:http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=7b82dc0e64e93f430182f36b46b79fcee87d3532 MITRE git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report