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…
Noroxi assessment
Priority: Monitor (action score 19/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.1% (FIRST EPSS); higher than 82.4% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: fai-kernels (Debian:4.0) 1.17+etch.22etch3; linux-2.6 (Debian:4.0) 2.6.18.dfsg.1-22etch3; user-mode-linux (Debian:4.0) 2.6.18-1um-2etch.22etch3.
Low priority for now. Upgrade to fai-kernels (Debian:4.0) 1.17+etch.22etch3; linux-2.6 (Debian:4.0) 2.6.18.dfsg.1-22etch3; user-mode-linux (Debian:4.0) 2.6.18-1um-2etch.22etch3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 29, 2008
- Updated
- Jun 16, 2026
- EPSS
- 2.1% · 82th percentile
- CWE
- CWE-264
Report tools
Action score
19
Low priority for now.
- CVSS
- 18 / 40 · 4.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelup to 2.6.21.7 inclusive
- linux linux kernel2.2.27
- linux linux kernel2.4.36
- linux linux kernel2.4.36.1
- linux linux kernel2.4.36.2
- linux linux kernel2.4.36.3
- linux linux kernel2.4.36.4
- linux linux kernel2.4.36.5
+12 more rows
- linux linux kernel2.4.36.6
- linux linux kernel2.6
- linux linux kernel2.6.18
- linux linux kernel2.6.19.4
- linux linux kernel2.6.19.5
- linux linux kernel2.6.19.6
- linux linux kernel2.6.19.7
- linux linux kernel2.6.20.16
- linux linux kernel2.6.20.17
- linux linux kernel2.6.20.18
- linux linux kernel2.6.20.19
- linux linux kernel2.6.20.20
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | fai-kernels | before 1.17+etch.22etch3 | 1.17+etch.22etch3 |
| Debian:4.0 | linux-2.6 | before 2.6.18.dfsg.1-22etch3 | 2.6.18.dfsg.1-22etch3 |
| Debian:4.0 | user-mode-linux | before 2.6.18-1um-2etch.22etch3 | 2.6.18-1um-2etch.22etch3 |
| Red Hat:enterprise_linux:2.1::as | kernel | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel | before 0:2.4.18-e.67 | 0:2.4.18-e.67 |
| Red Hat:enterprise_linux:2.1::as | kernel-BOOT | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-debug | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-doc | before 0:2.4.18-e.67 | 0:2.4.18-e.67 |
| Red Hat:enterprise_linux:2.1::as | kernel-doc | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-enterprise | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-headers | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-smp | before 0:2.4.18-e.67 | 0:2.4.18-e.67 |
| Red Hat:enterprise_linux:2.1::as | kernel-smp | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-source | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:2.1::as | kernel-source | before 0:2.4.18-e.67 | 0:2.4.18-e.67 |
| Red Hat:enterprise_linux:2.1::as | kernel-summit | before 0:2.4.9-e.74 | 0:2.4.9-e.74 |
| Red Hat:enterprise_linux:3::as | kernel | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-BOOT | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-debuginfo | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-doc | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-hugemem-unsupported | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
| Red Hat:enterprise_linux:3::as | kernel-smp-unsupported | before 0:2.4.21-58.EL | 0:2.4.21-58.EL |
+32
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2008-4113Sep 16, 2008 · The sctp_getsockopt_hmac_ident function in net/sctp/socket.c in the Stream Control Transmission Protocol (sctp) implementation in the Linux…18Monitor
- ← EarlierCVE-2008-3528Sep 27, 2008 · The error-reporting functionality in (1) fs/ext2/dir.c, (2) fs/ext3/dir.c, and possibly (3) fs/ext4/dir.c in the Linux kernel 2.6.26.5 does…8Monitor
- Later →CVE-2008-4302Sep 29, 2008 · fs/splice.c in the splice subsystem in the Linux kernel before 2.6.22.2 does not properly handle a failure of the add_to_page_cache_lru…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:fai-kernels | 1.17+etch.22etch3 · Debian:4.0 | Package registry (OSV) |
| debian:linux-2.6 | 2.6.18.dfsg.1-22etch3 · Debian:4.0 | Package registry (OSV) |
| debian:user-mode-linux | 2.6.18-1um-2etch.22etch3 · Debian:4.0 | Package registry (OSV) |
| red hat:kernel | 0:2.4.18-e.67 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:kernel-debug | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-doc | 0:2.4.18-e.67 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:kernel-PAE | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-PAE-debuginfo | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-PAE-devel | 0:2.6.18-92.1.18.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:kernel-smp | 0:2.4.18-e.67 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:kernel-source | 0:2.4.18-e.67 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2008-10-27 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+27 d
- TodayNov 16, 2026+6622 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-264 · Permissions, Privileges, and Access ControlsCVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- bugzilla.kernel.org/show_bug.cgi?id=8420
- git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532
- kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html
- lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html
- lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html
- secunia.com/advisories/32237
- secunia.com/advisories/32344
- secunia.com/advisories/32356
- secunia.com/advisories/32485
- secunia.com/advisories/32759
- secunia.com/advisories/32799
- secunia.com/advisories/32918
- secunia.com/advisories/33201
- secunia.com/advisories/33280
- www.debian.org/security/2008/dsa-1653
- www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- www.mandriva.com/security/advisories?name=MDVSA-2008:220
Vendor advisories and official records. Exploit/PoC links are deliberately left out.