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.
- EPSS
- 0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
- Published
- Modified
- Record from
- the NVD, synced
Affected
- hp:secure_os
- mandrakesoft:mandrake_linux
- mandrakesoft:mandrake_linux_corporate_server
- mandrakesoft:mandrake_single_network_firewall
- redhat:linux
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523
- http://marc.info/?l=bugtraq&m=102795787713996&w=2