CVE-2005-4783
What it is
kernfs_xread in kernfs_vnops.c in NetBSD before 20050831 does not check for a negative offset when reading the message buffer, which allows local users to read arbitrary kernel memory.
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: 2.1 LOW (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 2.0
- Netbsd 2.0.3
- Netbsd 2.1
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:P/I:N/A:N
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-2005-4783.md and follow it. Check whether this project is affected by CVE-2005-4783. 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://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c.diff?r1=1.110&r2=1.111&f=h
- http://releng.netbsd.org/cgi-bin/req-3.cgi?show=727
- http://securitytracker.com/id?1015132
- http://www.osvdb.org/20729
- http://www.packetstormsecurity.org/0601-advisories/NetBSD-SA2006-001.txt
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c.diff?r1=1.110&r2=1.111&f=h
- http://releng.netbsd.org/cgi-bin/req-3.cgi?show=727
- http://securitytracker.com/id?1015132
References
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c.diff?r1=1.110&r2=1.111&f=h
- http://mail-index.netbsd.org/netbsd-announce/2005/10/31/0000.html
- http://releng.netbsd.org/cgi-bin/req-3.cgi?show=727
- http://securitytracker.com/id?1015132
- http://www.osvdb.org/20729
- http://www.packetstormsecurity.org/0601-advisories/NetBSD-SA2006-001.txt
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c
- http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/kernfs/kernfs_vnops.c.diff?r1=1.110&r2=1.111&f=h
- http://mail-index.netbsd.org/netbsd-announce/2005/10/31/0000.html
- http://releng.netbsd.org/cgi-bin/req-3.cgi?show=727
- http://securitytracker.com/id?1015132
- http://www.osvdb.org/20729
- http://www.packetstormsecurity.org/0601-advisories/NetBSD-SA2006-001.txt