CVEvulnerability
CVE-2002-0638
6.2 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2002-08-12
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.2 MEDIUM — AV:L/AC:H/Au:N/C:C/I:C/A:C
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 configurations
• mandrakesoft mandrake single network firewall 7.2
• hp secure os 1.0
• mandrakesoft mandrake linux 7.0
• mandrakesoft mandrake linux 7.1
• mandrakesoft mandrake linux 7.2
• mandrakesoft mandrake linux 8.0
• mandrakesoft mandrake linux 8.1
• mandrakesoft mandrake linux 8.2
• mandrakesoft mandrake linux corporate server 1.0.1
• redhat linux 6.0
• redhat linux 6.1
• redhat linux 6.2
• redhat linux 7.0
• redhat linux 7.1
• redhat linux 7.2
• redhat linux 7.3
Related
Referenced by CWE · observed example (1)
- CWE-403 Exposure of File Descriptor to Unintended Control Sphere weakness
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt ftp.caldera.com
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html archives.neohapsis.com
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html archives.neohapsis.com
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523 distro.conectiva.com.br
- http://marc.info/?l=bugtraq&m=102795787713996&w=2 marc.info
- http://online.securityfocus.com/advisories/4320 online.securityfocus.com
- http://rhn.redhat.com/errata/RHSA-2002-132.html Patch, Vendor Advisory
- http://www.iss.net/security_center/static/9709.php www.iss.net
- 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 www.linux-mandrake.com
- http://www.osvdb.org/5164 www.osvdb.org
- http://www.redhat.com/support/errata/RHSA-2002-137.html www.redhat.com
- http://www.securityfocus.com/bid/5344 www.securityfocus.com
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt ftp.caldera.com
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html archives.neohapsis.com
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html archives.neohapsis.com
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523 distro.conectiva.com.br
- http://marc.info/?l=bugtraq&m=102795787713996&w=2 marc.info
- http://online.securityfocus.com/advisories/4320 online.securityfocus.com
- http://rhn.redhat.com/errata/RHSA-2002-132.html Patch, Vendor Advisory
- http://www.iss.net/security_center/static/9709.php www.iss.net
- 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 www.linux-mandrake.com
- http://www.osvdb.org/5164 www.osvdb.org
- http://www.redhat.com/support/errata/RHSA-2002-137.html www.redhat.com
- http://www.securityfocus.com/bid/5344 www.securityfocus.com