CVE-2004-2731 Integer overflow in n/a
Local attackers can exploit integer overflows in the Sbus PROM driver to execute arbitrary code and escalate privileges on affected Linux systems.
- 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-2004-2731?
CVE-2004-2731 is a medium-severity vulnerability in Linux kernel, published on 9 Oct 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Multiple integer overflows in Sbus PROM driver (drivers/sbus/char/openprom.c) for the Linux kernel 2.4.x up to 2.4.27, 2.6.x up to 2.6.7, and possibly later versions, allow local users to execute arbitrary code by specifying (1) a small buffer size to the copyin_string function or (2) a negative buffer size to the copyin function.
Weakness: CWE-189
Which versions are affected by CVE-2004-2731?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2004-2731?
Apply the vendor's patch.
Is CVE-2004-2731 being exploited?
There is no known exploitation of CVE-2004-2731 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as GHSA-rg5q-w7qj-gw3c.