CVE-2008-4210 Privilege escalation in n/a

Medium 4.6 Published Updated

Local attackers can gain group privileges and read sensitive data by exploiting improper setgid bit stripping during file truncation in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2008-4210?

CVE-2008-4210 is a medium-severity vulnerability in Linux kernel, published on 29 Sep 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-264

Which versions are affected by CVE-2008-4210?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2008-4210?

Upgrade to a fixed version.

Is CVE-2008-4210 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-4210 exists.

Public exploit code: 1 Exploit-DB entry.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-4hj9-rwwj-2hgv.

Is CVE-2008-4210 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free