kernel: open() call allows setgid bit when user is not in new file's group
Published Sep 29, 2008
4.6
MEDIUMCVSS 2.0
EPSS 2.14%
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
No data.
- ≤ 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
- 2.4.36.5
- 2.4.36.6
- 2.6
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.18
- 2.6.19.4
- 2.6.19.5
- 2.6.19.6
- 2.6.19.7
- 2.6.20.16
- 2.6.20.17
- 2.6.20.18
- 2.6.20.19
- 2.6.20.20
- 2.6.20.21
- 2.6.21.5
- 2.6.21.6
No data.
Red Hat Enterprise Linux 2.1
kernel-0:2.4.18-e.67
Fixed · RHSA-2008:0787
Red Hat Enterprise Linux 2.1
kernel-0:2.4.9-e.74
Fixed · RHSA-2009:0001
Red Hat Enterprise Linux 3
kernel-0:2.4.21-58.EL
Fixed · RHSA-2008:0973
Red Hat Enterprise Linux 4
kernel-0:2.6.9-78.0.8.EL
Fixed · RHSA-2008:0972
Red Hat Enterprise Linux 5
kernel-0:2.6.18-92.1.18.el5
Fixed · RHSA-2008:0957
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 2.1 | kernel-0:2.4.18-e.67 | Fixed | RHSA-2008:0787 |
| Red Hat Enterprise Linux 2.1 | kernel-0:2.4.9-e.74 | Fixed | RHSA-2009:0001 |
| Red Hat Enterprise Linux 3 | kernel-0:2.4.21-58.EL | Fixed | RHSA-2008:0973 |
| Red Hat Enterprise Linux 4 | kernel-0:2.6.9-78.0.8.EL | Fixed | RHSA-2008:0972 |
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-92.1.18.el5 | Fixed | RHSA-2008:0957 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.14% (0.02141) | 81.39th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.14% (0.02141) | 79.60th | v5 (v2026.06.15) |
| Jan 6, 2026 | 11.30% (0.11300) | 93.29th | v4 (v2025.03.14) |
| Apr 17, 2025 | 13.38% (0.13378) | 93.75th | v4 (v2025.03.14) |
| Mar 17, 2025 | 16.26% (0.16259) | 94.34th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 0.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 0.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.22% (0.03220) | 84.21th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.22% (0.03220) | 82.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.22% (0.03220) | 65.30th | v2 (v2022.01.01) |
References (34)
- http://bugzilla.kernel.org/show_bug.cgi?id=8420 x_refsource_CONFIRM
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532 x_refsource_CONFIRM
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2008-0972.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/32237 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32344 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32356 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32485 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32759 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32799 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32918 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/33201 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/33280 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2008/dsa-1653 vendor-advisoryx_refsource_DEBIAN
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:220 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2008/09/24/5 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/09/24/8 mailing-listx_refsource_MLIST
- http://www.redhat.com/support/errata/RHSA-2008-0787.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0957.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0973.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/31368 vdb-entryx_refsource_BIDExploit
- http://www.ubuntu.com/usn/usn-679-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2008-4210 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=463661 x_refsource_CONFIRMIssue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45539 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-4210
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2008-4210
Change history (0)
No recorded changes yet.