Vulnerability in NetBSD
CVE-2006-0145
The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occur as a result of truncation, which allows local users to read arbitrary kernel memory and gain privileges via the lseek system call.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.004, 31.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- NetBSD — versions 1.6, 1.6.1, 1.6.2
References
- secunia.com/advisories/18712 (third-party-advisory, Vendor Advisory)
- www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html (Vendor Advisory)
- securityreason.com/securityalert/405 (third-party-advisory)
- www.securityfocus.com/bid/16173 (Patch, vdb-entry)
- secunia.com/advisories/18388 (third-party-advisory, Vendor Advisory)
- www.osvdb.org/22293 (vdb-entry)
- netbsd-kernfs-memory-disclosure(24035) (vdb-entry)
- 20060202 [SLAB] NetBSD / OpenBSD kernfs_xread patch evasion (mailing-list)