CVE-2008-4210
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.159%
chance of exploitation in the next 30 days
higher than 82.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
Timeline
- 2008-09-29Published by the CNA17:00 UTC
- 2008-10-27First Exploit-DB entry (EDB-ID 6851)28 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 6851 | local | linux | 2008-10-27 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.2.27no fix listed2.4.36no fix listed2.4.36.1no fix listed2.4.36.2no fix listed2.4.36.3no fix listed(+18 more) | not listednot listednot listednot listednot listed |
References
- 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://www.debian.org/security/2008/dsa-1653
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:220
- 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.ubuntu.com/usn/usn-679-1
- http://www.securityfocus.com/bid/31368
- 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://secunia.com/advisories/32237
- http://secunia.com/advisories/32344
- http://secunia.com/advisories/32356
- http://secunia.com/advisories/32485
- http://secunia.com/advisories/32759
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2008-4210'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2008-4210'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2008-4210'curl 'https://api.contrastcyber.com/cve_products/CVE-2008-4210'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).