CVE-2004-2731
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Linux Kernel 2.4.0
- Linux Kernel 2.4.1
- Linux Kernel 2.4.2
- Linux Kernel 2.4.3
- Linux Kernel 2.4.4
- Linux Kernel 2.4.5
- Linux Kernel 2.4.6
- Linux Kernel 2.4.7
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-2731.md and follow it. Check whether this project is affected by CVE-2004-2731. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://archives.neohapsis.com/archives/bugtraq/2004-06/0463.html
- http://secunia.com/advisories/11981
- http://secunia.com/advisories/29058
- http://securitytracker.com/id?1010617
- http://www.debian.org/security/2008/dsa-1503
- http://www.osvdb.org/7345
- http://www.osvdb.org/8363
- http://www.securiteam.com/unixfocus/5GP0515DFW.html
- http://www.securityfocus.com/bid/10632
- http://archives.neohapsis.com/archives/bugtraq/2004-06/0463.html
- http://secunia.com/advisories/11981
- http://secunia.com/advisories/29058
- http://securitytracker.com/id?1010617
- http://www.debian.org/security/2008/dsa-1503
- http://www.osvdb.org/7345
- http://www.osvdb.org/8363
- http://www.securiteam.com/unixfocus/5GP0515DFW.html
- http://www.securityfocus.com/bid/10632