CVE-2002-0638
MEDIUM 6.2CVSS 2.0setpwnam.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.
- Published
- 12 Aug 2002
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mandrakesoft | mandrake_single_network_firewallcpe:2.3:a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | hp | secure_oscpe:2.3:o:hp:secure_os:1.0:*:linux:*:*:*:*:* |
= 1.0 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:7.1:*:*:*:*:*:*:* |
= 7.1 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:* |
= 8.0 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:* |
= 8.1 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:* |
= 8.1 | |
| NVD | mandrakesoft | mandrake_linuxcpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:* |
= 8.2 | |
| NVD | mandrakesoft | mandrake_linux_corporate_servercpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:1.0.1:*:*:*:*:*:*:* |
= 1.0.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.0:*:alpha:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.0:*:sparc:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.1:*:*:*:*:*:*:* |
= 6.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.1:*:alpha:*:*:*:*:* |
= 6.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.1:*:sparc:*:*:*:*:* |
= 6.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.2:*:*:*:*:*:*:* |
= 6.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.2:*:alpha:*:*:*:*:* |
= 6.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:6.2:*:sparc:*:*:*:*:* |
= 6.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.0:*:alpha:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.1:*:*:*:*:*:*:* |
= 7.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.1:*:alpha:*:*:*:*:* |
= 7.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.1:*:ia64:*:*:*:*:* |
= 7.1 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.2:*:alpha:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.2:*:ia64:*:*:*:*:* |
= 7.2 | |
| NVD | redhat | linuxcpe:2.3:o:redhat:linux:7.3:*:*:*:*:*:*:* |
= 7.3 |
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523
- http://marc.info/?l=bugtraq&m=102795787713996&w=2
- http://online.securityfocus.com/advisories/4320
- http://rhn.redhat.com/errata/RHSA-2002-132.html · Patch, Vendor Advisory
- http://www.iss.net/security_center/static/9709.php
- http://www.kb.cert.org/vuls/id/405955 · Patch, Third Party Advisory, US Government Resource
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php
- http://www.osvdb.org/5164
- http://www.redhat.com/support/errata/RHSA-2002-137.html
- http://www.securityfocus.com/bid/5344
History
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 12 Aug 2002)