CVE-2002-0638
Summary
| CVE | CVE-2002-0638 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2002-08-12 04:00:00 UTC |
| Updated | 2016-10-18 02:20:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Hp | Secure Os | 1.0 | All | linux | All |
| Operating System | Hp | Secure Os | 1.0 | All | linux | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.0 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.1 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.2 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.0 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.0 | All | ppc | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.1 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.1 | All | ia64 | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.2 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.0 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.1 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 7.2 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.0 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.0 | All | ppc | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.1 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.1 | All | ia64 | All |
| Operating System | Mandrakesoft | Mandrake Linux | 8.2 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux Corporate Server | 1.0.1 | All | All | All |
| Operating System | Mandrakesoft | Mandrake Linux Corporate Server | 1.0.1 | All | All | All |
| Application | Mandrakesoft | Mandrake Single Network Firewall | 7.2 | All | All | All |
| Application | Mandrakesoft | Mandrake Single Network Firewall | 7.2 | All | All | All |
| Operating System | Redhat | Linux | 6.0 | All | All | All |
| Operating System | Redhat | Linux | 6.0 | All | alpha | All |
| Operating System | Redhat | Linux | 6.0 | All | sparc | All |
| Operating System | Redhat | Linux | 6.1 | All | All | All |
| Operating System | Redhat | Linux | 6.1 | All | alpha | All |
| Operating System | Redhat | Linux | 6.1 | All | sparc | All |
| Operating System | Redhat | Linux | 6.2 | All | All | All |
| Operating System | Redhat | Linux | 6.2 | All | alpha | All |
| Operating System | Redhat | Linux | 6.2 | All | sparc | All |
| Operating System | Redhat | Linux | 7.0 | All | All | All |
| Operating System | Redhat | Linux | 7.0 | All | alpha | All |
| Operating System | Redhat | Linux | 7.1 | All | All | All |
| Operating System | Redhat | Linux | 7.1 | All | alpha | All |
| Operating System | Redhat | Linux | 7.1 | All | ia64 | All |
| Operating System | Redhat | Linux | 7.2 | All | All | All |
| Operating System | Redhat | Linux | 7.2 | All | alpha | All |
| Operating System | Redhat | Linux | 7.2 | All | ia64 | All |
| Operating System | Redhat | Linux | 7.3 | All | All | All |
| Operating System | Redhat | Linux | 6.0 | All | All | All |
| Operating System | Redhat | Linux | 6.0 | All | alpha | All |
| Operating System | Redhat | Linux | 6.0 | All | sparc | All |
| Operating System | Redhat | Linux | 6.1 | All | All | All |
| Operating System | Redhat | Linux | 6.1 | All | alpha | All |
| Operating System | Redhat | Linux | 6.1 | All | sparc | All |
| Operating System | Redhat | Linux | 6.2 | All | All | All |
| Operating System | Redhat | Linux | 6.2 | All | alpha | All |
| Operating System | Redhat | Linux | 6.2 | All | sparc | All |
| Operating System | Redhat | Linux | 7.0 | All | All | All |
| Operating System | Redhat | Linux | 7.0 | All | alpha | All |
| Operating System | Redhat | Linux | 7.1 | All | All | All |
| Operating System | Redhat | Linux | 7.1 | All | alpha | All |
| Operating System | Redhat | Linux | 7.1 | All | ia64 | All |
| Operating System | Redhat | Linux | 7.2 | All | All | All |
| Operating System | Redhat | Linux | 7.2 | All | alpha | All |
| Operating System | Redhat | Linux | 7.2 | All | ia64 | All |
| Operating System | Redhat | Linux | 7.3 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| redhat.com | Red Hat Support | REDHAT | www.redhat.com | |
| MandrakeSoft Security Advisory MDKSA-2002:047 : util-linux | MANDRAKE | www.linux-mandrake.com | |
| CERT/CC Vulnerability Note VU#405955 | CERT-VN | www.kb.cert.org | Patch, Third Party Advisory, US Government Resource |
| redhat.com | Red Hat Support | REDHAT | rhn.redhat.com | Patch, Vendor Advisory |
| ISS X-Force Database: utillinux-chfn-race-condition (9709): util-linux chfn and chsh race condition and file locking could allow elevated privileges | XF | www.iss.net | |
| Home - Conectiva | CONECTIVA | distro.conectiva.com.br | |
| 'RAZOR advisory: Linux util-linux chfn local root vulnerability' - MARC | BUGTRAQ | marc.info | |
| Util-linux File Locking Race Condition Vulnerability | BID | www.securityfocus.com | |
| 5164 | OSVDB | www.osvdb.org | |
| Neohapsis Archives - Bugtraq - RAZOR advisory: Linux util-linux chfn local root vulnerability - From lcamtuf_at_coredump.cx | VULNWATCH | archives.neohapsis.com | |
| CSSA-2002-043.0 | CALDERA | ftp.caldera.com | |
| Neohapsis Archives - Bugtraq - TSLSA-2002-0064 - util-linux - From tsl_at_trustix.com | BUGTRAQ | archives.neohapsis.com | |
| HPSBTL0207-054 | HP | online.securityfocus.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.