CVE-2008-4210
MEDIUM 4.6CVSS 2.0fs/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.
- Published
- 29 Sep 2008
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
<= 2.6.21.7 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.2.27:*:*:*:*:*:*:* |
= 2.2.27 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36:*:*:*:*:*:*:* |
= 2.4.36 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.1:*:*:*:*:*:*:* |
= 2.4.36.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.2:*:*:*:*:*:*:* |
= 2.4.36.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.3:*:*:*:*:*:*:* |
= 2.4.36.3 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.4:*:*:*:*:*:*:* |
= 2.4.36.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.5:*:*:*:*:*:*:* |
= 2.4.36.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.4.36.6:*:*:*:*:*:*:* |
= 2.4.36.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6:*:*:*:*:*:*:* |
= 2.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:*:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc1:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc2:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc3:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc4:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc5:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc6:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.18:rc7:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.19.4:*:*:*:*:*:*:* |
= 2.6.19.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.19.5:*:*:*:*:*:*:* |
= 2.6.19.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.19.6:*:*:*:*:*:*:* |
= 2.6.19.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.19.7:*:*:*:*:*:*:* |
= 2.6.19.7 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.16:*:*:*:*:*:*:* |
= 2.6.20.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.17:*:*:*:*:*:*:* |
= 2.6.20.17 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.18:*:*:*:*:*:*:* |
= 2.6.20.18 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.19:*:*:*:*:*:*:* |
= 2.6.20.19 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.20:*:*:*:*:*:*:* |
= 2.6.20.20 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.20.21:*:*:*:*:*:*:* |
= 2.6.20.21 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.21.5:*:*:*:*:*:*:* |
= 2.6.21.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:2.6.21.6:*:*:*:*:*:*:* |
= 2.6.21.6 |
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
- http://secunia.com/advisories/32759
- http://secunia.com/advisories/32799
- http://secunia.com/advisories/32918
- http://secunia.com/advisories/33201
- http://secunia.com/advisories/33280
- http://www.debian.org/security/2008/dsa-1653
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:220
- http://www.openwall.com/lists/oss-security/2008/09/24/5
- http://www.openwall.com/lists/oss-security/2008/09/24/8
- http://www.redhat.com/support/errata/RHSA-2008-0787.html
- http://www.redhat.com/support/errata/RHSA-2008-0957.html
- http://www.redhat.com/support/errata/RHSA-2008-0973.html
- http://www.securityfocus.com/bid/31368 · Exploit
- http://www.ubuntu.com/usn/usn-679-1
- https://bugzilla.redhat.com/show_bug.cgi?id=463661
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45539
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 29 Sep 2008)