CVE-2002-0638: HP Secure OS

Medium severity, CVSS 6.2. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2002-08-12. Last modified 2026-06-16.