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.
References
- 5344 vdb-entry
- utillinux-chfn-race-condition(9709) vdb-entry
- MDKSA-2002:047 vendor-advisory
- RHSA-2002:132 vendor-advisory
- VU#405955 third-party-advisory
- 20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability mailing-list
- CLA-2002:523 vendor-advisory
- HPSBTL0207-054 vendor-advisory
- 20020730 TSLSA-2002-0064 - util-linux mailing-list
- 20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability mailing-list
- RHSA-2002:137 vendor-advisory
- 5164 vdb-entry