CVE-2002-0638

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.529%
chance of exploitation in the next 30 days
higher than 45.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Timeline

  1. 2002-08-12Published
  2. 2003-04-02Published by the CNA05:00 UTC · 233 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

VendorProduct
hpsecure_os
mandrakesoftmandrake_linux
mandrakesoftmandrake_linux_corporate_server
mandrakesoftmandrake_single_network_firewall
redhatlinux

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources