the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2002-0638

setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other operating systems, does not properly lock a temporary file when modifying /etc/passwd, which may allow local users to gain privileges via a complex race condition that uses an open file descriptor in utility programs such as chfn and chsh.
Publish Date : 2002-08-12 Last Update Date : 2016-10-18
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity High (Specialized access conditions exist. It is hard to exploit and several special conditions must be satisfied to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Gain privileges
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2002-07-29
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Products Affected By CVE-2002-0638

# Product Type Vendor Product Version Update Edition Language
1 OS HP Secure Os 1.0 * Linux * Version Details Vulnerabilities
2 OS Mandrakesoft Mandrake Linux 7.0 * * * Version Details Vulnerabilities
3 OS Mandrakesoft Mandrake Linux 7.1 * * * Version Details Vulnerabilities
4 OS Mandrakesoft Mandrake Linux 7.2 * * * Version Details Vulnerabilities
5 OS Mandrakesoft Mandrake Linux 8.0 * PPC * Version Details Vulnerabilities
6 OS Mandrakesoft Mandrake Linux 8.0 * * * Version Details Vulnerabilities
7 OS Mandrakesoft Mandrake Linux 8.1 * Ia64 * Version Details Vulnerabilities
8 OS Mandrakesoft Mandrake Linux 8.1 * * * Version Details Vulnerabilities
9 OS Mandrakesoft Mandrake Linux 8.2 * * * Version Details Vulnerabilities
10 OS Mandrakesoft Mandrake Linux Corporate Server 1.0.1 * * * Version Details Vulnerabilities
11 Application Mandrakesoft Mandrake Single Network Firewall 7.2 * * * Version Details Vulnerabilities
12 OS Redhat Linux 6.0 * Sparc * Version Details Vulnerabilities
13 OS Redhat Linux 6.0 * * * Version Details Vulnerabilities
14 OS Redhat Linux 6.0 * Alpha * Version Details Vulnerabilities
15 OS Redhat Linux 6.1 * Sparc * Version Details Vulnerabilities
16 OS Redhat Linux 6.1 * * * Version Details Vulnerabilities
17 OS Redhat Linux 6.1 * Alpha * Version Details Vulnerabilities
18 OS Redhat Linux 6.2 * * * Version Details Vulnerabilities
19 OS Redhat Linux 6.2 * Alpha * Version Details Vulnerabilities
20 OS Redhat Linux 6.2 * Sparc * Version Details Vulnerabilities
21 OS Redhat Linux 7.0 * Alpha * Version Details Vulnerabilities
22 OS Redhat Linux 7.0 * * * Version Details Vulnerabilities
23 OS Redhat Linux 7.1 * Alpha * Version Details Vulnerabilities
24 OS Redhat Linux 7.1 * * * Version Details Vulnerabilities
25 OS Redhat Linux 7.1 * Ia64 * Version Details Vulnerabilities
26 OS Redhat Linux 7.2 * Ia64 * Version Details Vulnerabilities
27 OS Redhat Linux 7.2 * * * Version Details Vulnerabilities
28 OS Redhat Linux 7.2 * Alpha * Version Details Vulnerabilities
29 OS Redhat Linux 7.3 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
HP Secure Os 1
Mandrakesoft Mandrake Linux 8
Mandrakesoft Mandrake Linux Corporate Server 1
Mandrakesoft Mandrake Single Network Firewall 1
Redhat Linux 18

- References For CVE-2002-0638
OSVDB 5164
BUGTRAQ 20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability
BID 5344 Util-linux File Locking Race Condition Vulnerability Release Date:2002-07-29
HP HPSBTL0207-054
XF utillinux-chfn-race-condition(9709)
BUGTRAQ 20020730 TSLSA-2002-0064 - util-linux
CALDERA CSSA-2002-043.0
REDHAT RHSA-2002:137
REDHAT RHSA-2002:132
CERT-VN VU#405955
VULNWATCH 20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability

- Metasploit Modules Related To CVE-2002-0638

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
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.