CVE-2002-0638

Summary

CVECVE-2002-0638
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2002-08-12 04:00:00 UTC
Updated2016-10-18 02:20:00 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

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Hp Secure Os 1.0 All linux All
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 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
Operating System Mandrakesoft Mandrake Linux Corporate Server 1.0.1 All All All
Application Mandrakesoft Mandrake Single Network Firewall 7.2 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
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

References

ReferenceSourceLinkTags
redhat.com | Red Hat Support REDHAT www.redhat.com
MandrakeSoft Security Advisory MDKSA-2002:047 : util-linux MANDRAKE www.linux-mandrake.com
CERT/CC Vulnerability Note VU#405955 CERT-VN www.kb.cert.org Patch, Third Party Advisory, US Government Resource
redhat.com | Red Hat Support REDHAT rhn.redhat.com Patch, Vendor Advisory
ISS X-Force Database: utillinux-chfn-race-condition (9709): util-linux chfn and chsh race condition and file locking could allow elevated privileges XF www.iss.net
Home - Conectiva CONECTIVA distro.conectiva.com.br
'RAZOR advisory: Linux util-linux chfn local root vulnerability' - MARC BUGTRAQ marc.info
Util-linux File Locking Race Condition Vulnerability BID www.securityfocus.com
5164 OSVDB www.osvdb.org
Neohapsis Archives - Bugtraq - RAZOR advisory: Linux util-linux chfn local root vulnerability - From lcamtuf_at_coredump.cx VULNWATCH archives.neohapsis.com
CSSA-2002-043.0 CALDERA ftp.caldera.com
Neohapsis Archives - Bugtraq - TSLSA-2002-0064 - util-linux - From tsl_at_trustix.com BUGTRAQ archives.neohapsis.com
HPSBTL0207-054 HP online.securityfocus.com
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.

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