BSD exec() Race Condition Vulnerability

BID:3891

Info

BSD exec() Race Condition Vulnerability

Bugtraq ID: 3891
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: Jan 16 2002 12:00AM
Updated: Jan 16 2002 12:00AM
Credit: NetBSD credits Tor Egge of FreeBSD. FreeBSD acknowledges Logan Gabriel <[email protected]>, Robert Watson <[email protected]>, Dag-Erling Smørgrav <[email protected]>.
Vulnerable: OpenBSD OpenBSD 2.9
OpenBSD OpenBSD 2.8
OpenBSD OpenBSD 2.7
OpenBSD OpenBSD 2.6
OpenBSD OpenBSD 2.5
OpenBSD OpenBSD 2.4
OpenBSD OpenBSD 2.3
OpenBSD OpenBSD 2.2
OpenBSD OpenBSD 2.1
OpenBSD OpenBSD 2.0
OpenBSD OpenBSD 3.0
NetBSD NetBSD 1.5.2
NetBSD NetBSD 1.5.1
NetBSD NetBSD 1.5
NetBSD NetBSD 1.4.3
NetBSD NetBSD 1.4.2
NetBSD NetBSD 1.4.1
NetBSD NetBSD 1.4
NetBSD NetBSD 1.3.3
NetBSD NetBSD 1.3.2
NetBSD NetBSD 1.3.1
NetBSD NetBSD 1.3
FreeBSD FreeBSD 4.4 -STABLE
FreeBSD FreeBSD 4.4 -RELENG
FreeBSD FreeBSD 4.4
FreeBSD FreeBSD 4.3 -STABLE
FreeBSD FreeBSD 4.3 -RELENG
FreeBSD FreeBSD 4.3 -RELEASE
FreeBSD FreeBSD 4.3
FreeBSD FreeBSD 4.2 -STABLE
FreeBSD FreeBSD 4.2 -RELEASE
FreeBSD FreeBSD 4.2
FreeBSD FreeBSD 4.1.1 -STABLE
FreeBSD FreeBSD 4.1.1 -RELEASE
FreeBSD FreeBSD 4.1.1
FreeBSD FreeBSD 4.1
FreeBSD FreeBSD 4.0
FreeBSD FreeBSD 3.5.1
FreeBSD FreeBSD 3.5
FreeBSD FreeBSD 3.4
FreeBSD FreeBSD 3.3
FreeBSD FreeBSD 3.2
FreeBSD FreeBSD 3.1
FreeBSD FreeBSD 3.0
FreeBSD FreeBSD 2.2.8
FreeBSD FreeBSD 2.2.6
FreeBSD FreeBSD 2.2.5
FreeBSD FreeBSD 2.2.4
FreeBSD FreeBSD 2.2.3
FreeBSD FreeBSD 2.2.2
FreeBSD FreeBSD 2.2
FreeBSD FreeBSD 2.1
FreeBSD FreeBSD 2.0
Not Vulnerable:

Exploit / POC

BSD exec() Race Condition Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

BSD exec() Race Condition Vulnerability

Solution:
NetBSD has released patches. It is believed that other BSD operating systems may be vulnerable, however this has not been confirmed. There are no patches for these systems yet. This record will be updated if and when they become available.

It is believed that version 1.3 is vulnerable, however it is not confirmed. Users of those kernel versions are advised to upgrade to the latest version.

NetBSD 1.4.x and 1.5.x users can patch their kernel via CVS or apply the patches listed below:

FreeBSD has released patches.

A patch is available for OpenBSD 3.0 (older versions may still be vulnerable, systems must be upgraded to 3.0 before the patch can be applied).


OpenBSD OpenBSD 3.0

NetBSD NetBSD 1.4

NetBSD NetBSD 1.4.1

NetBSD NetBSD 1.4.2

NetBSD NetBSD 1.4.3

NetBSD NetBSD 1.5

NetBSD NetBSD 1.5.1

NetBSD NetBSD 1.5.2

FreeBSD FreeBSD 4.3 -RELEASE

FreeBSD FreeBSD 4.3 -RELENG

FreeBSD FreeBSD 4.4

FreeBSD FreeBSD 4.4 -STABLE

FreeBSD FreeBSD 4.4 -RELENG

© 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