CVE-2004-0114

Current 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.

Basic Data

PublishedMarch 03, 2004
Last ModifiedOctober 10, 2017
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeNVD-CWE-Other
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS 2 - Access VectorLOCAL
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactPARTIAL
CVSS 2 - Base Score4.6
SeverityMEDIUM
Exploitability Score3.9
Impact Score6.4
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegetrue

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3OSFreebsdFreebsd********5.2
    2.3OSNetbsdNetbsd********1.3
    2.3OSOpenbsdOpenbsd********2.6

Vulnerable Software List

VendorProductVersions
Freebsd Freebsd *
Openbsd Openbsd *
Netbsd Netbsd *

References

NameSourceURLTags
FreeBSD-SA-04:02ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.ascFREEBSDPATCH Vendor Advisory
NetBSD-SA2004-004ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-004.txt.ascNETBSD
20040205 [PINE-CERT-20040201] reference count overflow in shmat()http://marc.info/?l=bugtraq&m=107608375207601&w=2BUGTRAQ
http://www.openbsd.org/errata33.html#sysvshmhttp://www.openbsd.org/errata33.html#sysvshmCONFIRM
3836http://www.osvdb.org/3836OSVDB
http://www.pine.nl/press/pine-cert-20040201.txthttp://www.pine.nl/press/pine-cert-20040201.txtMISC
9586http://www.securityfocus.com/bid/9586BIDPATCH Vendor Advisory
bsd-shmat-gain-privileges(15061)https://exchange.xforce.ibmcloud.com/vulnerabilities/15061XF