CVE-2006-0145
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% 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.4% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- Netbsd 1.6
- Netbsd 1.6.1
- Netbsd 1.6.2
- Netbsd 2.0
- Netbsd 2.0.1
- Netbsd 2.0.2
- Netbsd 2.0.3
- Netbsd 2.1
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/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-2006-0145.md and follow it. Check whether this project is affected by CVE-2006-0145. 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
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
- http://www.securityfocus.com/bid/16173
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
- http://www.securityfocus.com/bid/16173
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
References
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-001.txt.asc
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
- http://securityreason.com/securityalert/405
- http://www.osvdb.org/22293
- http://www.securityfocus.com/archive/1/423827/100/0/threaded
- http://www.securityfocus.com/bid/16173
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/24035
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-001.txt.asc
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
- http://securityreason.com/securityalert/405
- http://www.osvdb.org/22293
- http://www.securityfocus.com/archive/1/423827/100/0/threaded
- http://www.securityfocus.com/bid/16173
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/24035