What’s Vulnerable › Vulnerabilities
CVE-2008-4210
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2008-09-29 · updated 2026-06-16
- Weakness: CWE-264
Description
fs/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.
Affected products
- Linux kernel: through 2.6.21.7; 2.2.27, 2.4.36, 2.4.36.1, 2.4.36.2, 2.4.36.3, 2.4.36.4 (+23)
References
- http://bugzilla.kernel.org/show_bug.cgi?id=8420
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2008-0972.html
- http://secunia.com/advisories/32237
- http://secunia.com/advisories/32344
- http://secunia.com/advisories/32356
- http://secunia.com/advisories/32485
Get alerted when CVE-2008-4210 or the next vulnerability affects your stack