OpenBSD select() Buffer Overflow Vulnerability

BID:5442

Info

OpenBSD select() Buffer Overflow Vulnerability

Bugtraq ID: 5442
Class: Boundary Condition Error
CVE: CVE-2002-1420
Remote: No
Local: Yes
Published: Aug 12 2002 12:00AM
Updated: Nov 03 2007 12:46AM
Credit: Vulnerability first detailed in OpenBSD security advisory dated 2002-08-11.
Vulnerable: OpenBSD OpenBSD 2.9
OpenBSD OpenBSD 3.1
OpenBSD OpenBSD 3.0
Not Vulnerable:

Discussion

OpenBSD select() Buffer Overflow Vulnerability

A buffer-overflow vulnerability has been reported for the 'select(2)' function. This function lets programmers examine I/O descriptors.

The size parameter for the 'select()' function is a signed integer. Reportedly, 'select()' evaluates the upper boundary checks in a signed context. As a result, an attacker can cause the kernel to overwrite arbitrary locations in memory when supplying 'select()' with certain negative values for the size parameter.

Exploit / POC

OpenBSD select() Buffer Overflow Vulnerability

Core Security Technologies has developed a working commercial exploit for its CORE IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.

Solution / Fix

OpenBSD select() Buffer Overflow Vulnerability

Solution:
Users are advised to apply the available patches or to update their systems to OpenBSD 3.0-stable or 3.1-stable dated 2002-08-11 17:00 EDT or later.


OpenBSD OpenBSD 3.0

OpenBSD OpenBSD 3.1

References

OpenBSD select() Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report