CVEvulnerability
CVE-2004-0114
4.6 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2004-03-03
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Description
The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.
Affected configurations
• freebsd freebsd (<= 5.2)
• netbsd netbsd (<= 1.3)
• openbsd openbsd (<= 2.6)
Related
Referenced by CWE · observed example (1)
- CWE-911 Improper Update of Reference Count weakness
References
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc Patch, Vendor Advisory
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-004.txt.asc ftp.netbsd.org
- http://marc.info/?l=bugtraq&m=107608375207601&w=2 marc.info
- http://www.openbsd.org/errata33.html#sysvshm www.openbsd.org
- http://www.osvdb.org/3836 www.osvdb.org
- http://www.pine.nl/press/pine-cert-20040201.txt www.pine.nl
- http://www.securityfocus.com/bid/9586 Patch, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15061 exchange.xforce.ibmcloud.com
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc Patch, Vendor Advisory
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-004.txt.asc ftp.netbsd.org
- http://marc.info/?l=bugtraq&m=107608375207601&w=2 marc.info
- http://www.openbsd.org/errata33.html#sysvshm www.openbsd.org
- http://www.osvdb.org/3836 www.osvdb.org
- http://www.pine.nl/press/pine-cert-20040201.txt www.pine.nl
- http://www.securityfocus.com/bid/9586 Patch, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15061 exchange.xforce.ibmcloud.com