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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2003-04-02T05:00:00

Updated: 2024-08-08T02:56:38.516Z

Reserved: 2002-06-27T00:00:00

Link: CVE-2002-0638

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2002-08-12T04:00:00.000

Modified: 2024-11-20T23:39:31.580

Link: CVE-2002-0638

cve-icon Redhat

Severity : Moderate

Publid Date: 2002-07-29T00:00:00Z

Links: CVE-2002-0638 - Bugzilla