Read the docs
TI-2008-04039 Aliases CVE-2008-4210GHSA-4hj9-rwwj-2hgv

fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid…

Priority LOW 25CWE-264Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.

Summary

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.

Why it matters now

EPSS 0.02159 82nd percentileScored 2026-11-07
Fix Fixed Red Hat: 5 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 30

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*up to 2.6.21.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.2.27:*:*:*:*:*:*:*2.2.27VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36:*:*:*:*:*:*:*2.4.36VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.1:*:*:*:*:*:*:*2.4.36.1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.2:*:*:*:*:*:*:*2.4.36.2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.3:*:*:*:*:*:*:*2.4.36.3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.4:*:*:*:*:*:*:*2.4.36.4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.5:*:*:*:*:*:*:*2.4.36.5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.4.36.6:*:*:*:*:*:*:*2.4.36.6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6:*:*:*:*:*:*:*2.6VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions up to 2.6.21.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.2.27:*:*:*:*:*:*:* Versions 2.2.27 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36:*:*:*:*:*:*:* Versions 2.4.36 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.1:*:*:*:*:*:*:* Versions 2.4.36.1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.2:*:*:*:*:*:*:* Versions 2.4.36.2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.3:*:*:*:*:*:*:* Versions 2.4.36.3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.4:*:*:*:*:*:*:* Versions 2.4.36.4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.5:*:*:*:*:*:*:* Versions 2.4.36.5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.4.36.6:*:*:*:*:*:*:* Versions 2.4.36.6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6:*:*:*:*:*:*:* Versions 2.6 Vulnerable ·Linux
Show 20 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:2.6.18:*:*:*:*:*:*:*2.6.18VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc1:*:*:*:*:*:*2.6.18 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc2:*:*:*:*:*:*2.6.18 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc3:*:*:*:*:*:*2.6.18 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc4:*:*:*:*:*:*2.6.18 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc5:*:*:*:*:*:*2.6.18 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc6:*:*:*:*:*:*2.6.18 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.18:rc7:*:*:*:*:*:*2.6.18 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.19.4:*:*:*:*:*:*:*2.6.19.4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.19.5:*:*:*:*:*:*:*2.6.19.5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.19.6:*:*:*:*:*:*:*2.6.19.6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.19.7:*:*:*:*:*:*:*2.6.19.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.16:*:*:*:*:*:*:*2.6.20.16VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.17:*:*:*:*:*:*:*2.6.20.17VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.18:*:*:*:*:*:*:*2.6.20.18VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.19:*:*:*:*:*:*:*2.6.20.19VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.20:*:*:*:*:*:*:*2.6.20.20VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.20.21:*:*:*:*:*:*:*2.6.20.21VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.21.5:*:*:*:*:*:*:*2.6.21.5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.21.6:*:*:*:*:*:*:*2.6.21.6VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:*:*:*:*:*:*:* Versions 2.6.18 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc1:*:*:*:*:*:* Versions 2.6.18 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc2:*:*:*:*:*:* Versions 2.6.18 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc3:*:*:*:*:*:* Versions 2.6.18 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc4:*:*:*:*:*:* Versions 2.6.18 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc5:*:*:*:*:*:* Versions 2.6.18 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc6:*:*:*:*:*:* Versions 2.6.18 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.18:rc7:*:*:*:*:*:* Versions 2.6.18 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.19.4:*:*:*:*:*:*:* Versions 2.6.19.4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.19.5:*:*:*:*:*:*:* Versions 2.6.19.5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.19.6:*:*:*:*:*:*:* Versions 2.6.19.6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.19.7:*:*:*:*:*:*:* Versions 2.6.19.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.16:*:*:*:*:*:*:* Versions 2.6.20.16 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.17:*:*:*:*:*:*:* Versions 2.6.20.17 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.18:*:*:*:*:*:*:* Versions 2.6.20.18 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.19:*:*:*:*:*:*:* Versions 2.6.20.19 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.20:*:*:*:*:*:*:* Versions 2.6.20.20 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.20.21:*:*:*:*:*:*:* Versions 2.6.20.21 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.21.5:*:*:*:*:*:*:* Versions 2.6.21.5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.21.6:*:*:*:*:*:*:* Versions 2.6.21.6 Vulnerable ·Linux

Remediation

Red Hat 5 advisories

  • RHSA-2009:0001 Released 2009-01-08 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux AS (Advanced Server) version 2.1 kernel-2.4.9-e.74, kernel-2.4.9-e.74.athlon, kernel-BOOT-2.4.9-e.74.i386 +8
    • Red Hat Enterprise Linux ES version 2.1 kernel-2.4.9-e.74, kernel-2.4.9-e.74.athlon, kernel-BOOT-2.4.9-e.74.i386 +6
    • Red Hat Enterprise Linux WS version 2.1 kernel-2.4.9-e.74, kernel-2.4.9-e.74.athlon, kernel-BOOT-2.4.9-e.74.i386 +7
  • RHSA-2008:0787 Released 2009-01-05 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux AS (Advanced Server) version 2.1 kernel-2.4.18-e.67, kernel-2.4.18-e.67.ia64, kernel-doc-2.4.18-e.67.ia64 +2
    • Red Hat Linux Advanced Workstation 2.1 kernel-2.4.18-e.67, kernel-2.4.18-e.67.ia64, kernel-doc-2.4.18-e.67.ia64 +2
  • RHSA-2008:0973 Released 2008-12-17 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat Desktop version 3 kernel-2.4.21-58.EL, kernel-2.4.21-58.EL.athlon, kernel-2.4.21-58.EL.ia32e +14
    • Red Hat Enterprise Linux AS version 3 kernel-2.4.21-58.EL, kernel-2.4.21-58.EL.athlon, kernel-2.4.21-58.EL.ia32e +22
    • Red Hat Enterprise Linux ES version 3 kernel-2.4.21-58.EL, kernel-2.4.21-58.EL.athlon, kernel-2.4.21-58.EL.ia32e +18
    • Red Hat Enterprise Linux WS version 3 kernel-2.4.21-58.EL, kernel-2.4.21-58.EL.athlon, kernel-2.4.21-58.EL.ia32e +18
Show 2 more Red Hat advisories
  • RHSA-2008:0972 Released 2008-11-19 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat Enterprise Linux AS version 4 kernel-2.6.9-78.0.8.EL, kernel-2.6.9-78.0.8.EL.ia64, kernel-2.6.9-78.0.8.EL.ppc64iseries +14
    • Red Hat Enterprise Linux Desktop version 4 kernel-2.6.9-78.0.8.EL, kernel-devel-2.6.9-78.0.8.EL, kernel-doc-2.6.9-78.0.8.EL +8
    • Red Hat Enterprise Linux ES version 4 kernel-2.6.9-78.0.8.EL, kernel-2.6.9-78.0.8.EL.ia64, kernel-devel-2.6.9-78.0.8.EL +12
    • Red Hat Enterprise Linux WS version 4 kernel-2.6.9-78.0.8.EL, kernel-2.6.9-78.0.8.EL.ia64, kernel-devel-2.6.9-78.0.8.EL +12
  • RHSA-2008:0957 Released 2008-11-04 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat Enterprise Linux (v. 5 server) kernel-2.6.18-92.1.18.el5, kernel-2.6.18-92.1.18.el5.ia64, kernel-PAE-2.6.18-92.1.18.el5 +18
    • Red Hat Enterprise Linux Desktop (v. 5 client) kernel-2.6.18-92.1.18.el5, kernel-PAE-2.6.18-92.1.18.el5, kernel-PAE-devel-2.6.18-92.1.18.el5 +8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2008:0973
Red Hat Enterprise Linux (v. 5 server)Fixed RHSA-2008:0957
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 Fixed RHSA-2008:0787, RHSA-2009:0001
Red Hat Enterprise Linux AS version 3Fixed RHSA-2008:0973
Red Hat Enterprise Linux AS version 4Fixed RHSA-2008:0972
Red Hat Enterprise Linux Desktop (v. 5 client)Fixed RHSA-2008:0957
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2008:0972
Red Hat Enterprise Linux ES version 2.1Fixed RHSA-2009:0001
Red Hat Enterprise Linux ES version 3Fixed RHSA-2008:0973
Red Hat Enterprise Linux ES version 4Fixed RHSA-2008:0972
Red Hat Enterprise Linux WS version 2.1Fixed RHSA-2009:0001
Red Hat Enterprise Linux WS version 3Fixed RHSA-2008:0973
Red Hat Enterprise Linux WS version 4Fixed RHSA-2008:0972
Red Hat Linux Advanced Workstation 2.1Fixed RHSA-2008:0787

Timeline

  1. 2026-10-02 Threatist record created from CVE-2008-4210
  2. 2026-10-03 Alias added: GHSA-4hj9-rwwj-2hgv

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources