Back
CVE-2008-4210
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…
Medium4.6EPSS 2.2%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 2.2% · top 18% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
Affected products
n/a
- affected n/a
References (31)
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 32485 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31368 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 32237 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2008:0957 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2008:0972 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20080924 Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SA:2008:056 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- oval:org.mitre.oval:def:6386 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 33280 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1653 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [oss-security] 20080924 CVE request: kernel: open() call allows setgid bit when user is not in new file's group (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 32356 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 32918 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-679-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- oval:org.mitre.oval:def:9511 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 32759 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:220 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 32344 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=463661 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://bugzilla.kernel.org/show_bug.cgi?id=8420 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2008:0973 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2008:0787 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- SUSE-SA:2008:051 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 32799 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- linux-kernel-open-privilege-escalation(45539) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- SUSE-SA:2008:057 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SR:2008:025 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 33201 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-4210)Record last updated .