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.
Published:Jul 29, 2002
Last Modified:Apr 16, 2026
EPS:Apr 2, 2003
EPSS Score:0.00085
CVSS Score:6.2
Affected Products
Vendor
Product
Action
Vendor
Hp
Product
Secure Os
Hp
Secure Os
Vendor
Mandrakesoft
Product
Mandrake Linux
Mandrakesoft
Mandrake Linux
Vendor
Mandrakesoft
Product
Mandrake Linux Corporate Server
Mandrakesoft
Mandrake Linux Corporate Server
Vendor
Mandrakesoft
Product
Mandrake Single Network Firewall
Mandrakesoft
Mandrake Single Network Firewall
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Linux
Redhat
Linux
Exploits
No exploit reference
Common Weakness Enumeration
No CWE recorded yet
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
