CVE-2002-0638

Summary

CVECVE-2002-0638
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2002-08-12 04:00:00 UTC
Updated2025-04-03 01:03:51 UTC
Descriptionsetpwnam.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.

Risk And Classification

Primary CVSS: v2.0 6.2 from [email protected]

AV:L/AC:H/Au:N/C:C/I:C/A:C

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
High
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:H/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Hp Secure Os 1.0 All linux All
Operating System Mandrakesoft Mandrake Linux 7.0 All All All
Operating System Mandrakesoft Mandrake Linux 7.1 All All All
Operating System Mandrakesoft Mandrake Linux 7.2 All All All
Operating System Mandrakesoft Mandrake Linux 8.0 All All All
Operating System Mandrakesoft Mandrake Linux 8.0 All ppc All
Operating System Mandrakesoft Mandrake Linux 8.1 All All All
Operating System Mandrakesoft Mandrake Linux 8.1 All ia64 All
Operating System Mandrakesoft Mandrake Linux 8.2 All All All
Operating System Mandrakesoft Mandrake Linux Corporate Server 1.0.1 All All All
Application Mandrakesoft Mandrake Single Network Firewall 7.2 All All All
Operating System Redhat Linux 6.0 All All All
Operating System Redhat Linux 6.0 All alpha All
Operating System Redhat Linux 6.0 All sparc All
Operating System Redhat Linux 6.1 All All All
Operating System Redhat Linux 6.1 All alpha All
Operating System Redhat Linux 6.1 All sparc All
Operating System Redhat Linux 6.2 All All All
Operating System Redhat Linux 6.2 All alpha All
Operating System Redhat Linux 6.2 All sparc All
Operating System Redhat Linux 7.0 All All All
Operating System Redhat Linux 7.0 All alpha All
Operating System Redhat Linux 7.1 All All All
Operating System Redhat Linux 7.1 All alpha All
Operating System Redhat Linux 7.1 All ia64 All
Operating System Redhat Linux 7.2 All All All
Operating System Redhat Linux 7.2 All alpha All
Operating System Redhat Linux 7.2 All ia64 All
Operating System Redhat Linux 7.3 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
MandrakeSoft Security Advisory MDKSA-2002:047 : util-linux af854a3a-2127-422b-91ae-364da2661108 www.linux-mandrake.com
Neohapsis Archives - Bugtraq - TSLSA-2002-0064 - util-linux - From tsl_at_trustix.com af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
CERT/CC Vulnerability Note VU#405955 af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Patch, Third Party Advisory, US Government Resource
Util-linux File Locking Race Condition Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt af854a3a-2127-422b-91ae-364da2661108 ftp.caldera.com
ISS X-Force Database: utillinux-chfn-race-condition (9709): util-linux chfn and chsh race condition and file locking could allow elevated privileges af854a3a-2127-422b-91ae-364da2661108 www.iss.net
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
'RAZOR advisory: Linux util-linux chfn local root vulnerability' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
online.securityfocus.com/advisories/4320 af854a3a-2127-422b-91ae-364da2661108 online.securityfocus.com
Neohapsis Archives - Bugtraq - RAZOR advisory: Linux util-linux chfn local root vulnerability - From lcamtuf_at_coredump.cx af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Patch, Vendor Advisory
www.osvdb.org/5164 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
Home - Conectiva af854a3a-2127-422b-91ae-364da2661108 distro.conectiva.com.br
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© 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