CVE-2002-0638 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 loc...
MediumCVSS 6.2
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mandrakesoft mandrake single network firewall | = 7.2 | No fix listed |
| HP Inc secure os | = 1.0 | No fix listed |
| mandrakesoft mandrake linux | = 7.0 | No fix listed |
| mandrakesoft mandrake linux | = 7.1 | No fix listed |
| mandrakesoft mandrake linux | = 7.2 | No fix listed |
| mandrakesoft mandrake linux | = 8.0 | No fix listed |
| mandrakesoft mandrake linux | = 8.1 | No fix listed |
| mandrakesoft mandrake linux | = 8.2 | No fix listed |
| mandrakesoft mandrake linux corporate server | = 1.0.1 | No fix listed |
| redhat linux | = 6.0 | No fix listed |
| redhat linux | = 6.1 | No fix listed |
| redhat linux | = 6.2 | No fix listed |
| redhat linux | = 7.0 | No fix listed |
| redhat linux | = 7.1 | No fix listed |
| redhat linux | = 7.2 | No fix listed |
| redhat linux | = 7.3 | No fix listed |
References
- 20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability mailing-list
- 20020730 TSLSA-2002-0064 - util-linux mailing-list
- CLA-2002:523 vendor-advisory
- 20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability mailing-list
- HPSBTL0207-054 vendor-advisory
- RHSA-2002:132 patch vendor-advisory
- utillinux-chfn-race-condition(9709) vdb-entry
- VU#405955 patch third-party-advisory us-government-resource
- MDKSA-2002:047 vendor-advisory
- 5164 vdb-entry
- RHSA-2002:137 vendor-advisory
- 5344 vdb-entry