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.
Advisories
Source ID Title
EUVD EUVD EUVD-2002-0632 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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 : Deferred

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

Modified: 2025-04-03T01:03:51.193

Link: CVE-2002-0638

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2002-0638 - Bugzilla

cve-icon OpenCVE Enrichment

No data.