Unchecked return value in Linux kernel - CVE-2004-1070

 

Unchecked return value in Linux kernel - CVE-2004-1070

Published: January 10, 2005 / Updated: October 11, 2017


Vulnerability identifier: #VU95647
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2004-1070
CWE-ID: CWE-252
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code.

The load_elf_binary function in the binfmt_elf loader (binfmt_elf.c) in Linux kernel 2.4.x up to 2.4.27, and 2.6.x up to 2.6.8, does not properly check return values from calls to the kernel_read function, which may allow local users to modify sensitive memory in a setuid program and execute arbitrary code.


How to mitigate CVE-2004-1070

Install update from vendor's repository.

Sources