CVE-2002-0638
Summary
| CVE | CVE-2002-0638 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2002-08-12 04:00:00 UTC |
| Updated | 2025-04-03 01:03:51 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
Primary CVSS: v2.0 6.2 from [email protected]
AV:L/AC:H/Au:N/C:C/I:C/A:C
Problem Types: NVD-CWE-Other | n/a
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
HighAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:H/Au:N/C:C/I:C/A:C
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 | 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 |
| 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 |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| MandrakeSoft Security Advisory MDKSA-2002:047 : util-linux | af854a3a-2127-422b-91ae-364da2661108 | www.linux-mandrake.com | |
| Neohapsis Archives - Bugtraq - TSLSA-2002-0064 - util-linux - From tsl_at_trustix.com | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| CERT/CC Vulnerability Note VU#405955 | af854a3a-2127-422b-91ae-364da2661108 | www.kb.cert.org | Patch, Third Party Advisory, US Government Resource |
| Util-linux File Locking Race Condition Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt | af854a3a-2127-422b-91ae-364da2661108 | ftp.caldera.com | |
| ISS X-Force Database: utillinux-chfn-race-condition (9709): util-linux chfn and chsh race condition and file locking could allow elevated privileges | af854a3a-2127-422b-91ae-364da2661108 | www.iss.net | |
| redhat.com | Red Hat Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| 'RAZOR advisory: Linux util-linux chfn local root vulnerability' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| online.securityfocus.com/advisories/4320 | af854a3a-2127-422b-91ae-364da2661108 | online.securityfocus.com | |
| Neohapsis Archives - Bugtraq - RAZOR advisory: Linux util-linux chfn local root vulnerability - From lcamtuf_at_coredump.cx | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| redhat.com | Red Hat Support | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | Patch, Vendor Advisory |
| www.osvdb.org/5164 | af854a3a-2127-422b-91ae-364da2661108 | www.osvdb.org | |
| Home - Conectiva | af854a3a-2127-422b-91ae-364da2661108 | distro.conectiva.com.br | |
| 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.