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 local users to gain privileges via a complex race condition that uses an open file descriptor in utility programs such as chfn and chsh.
Key facts
- CVSS score
- 6.2 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:L/AC:H/Au:N/C:C/I:C/A:C- EPSS score
- 0.5% (43th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2002-0632)
- Published
- August 12, 2002
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2002-0632 in the EU Vulnerability Database. Last updated in EUVD on August 8, 2024.
View on the EU Vulnerability DatabaseAffected products
- hp / secure os
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux
- mandrakesoft / mandrake linux corporate server
- mandrakesoft / mandrake single network firewall
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
- redhat / linux
Certified products that may be affected
13 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux Version 7.1 - Red Hat, Inc. - Common Criteria BSI-DSZ-CC-0949-2017 - archived
- Red Hat Enterprise Linux Version 7.1 - Red Hat, Inc. - Common Criteria BSI-DSZ-CC-0999-2016 - archived
- Red Hat Enterprise Linux 6.6 OpenSSL Module, Red Hat Enterprise Linux 7.1 OpenSSL Module - Red Hat®, Inc. - FIPS 140 2441 - historical
- Red Hat Enterprise Linux on 32 bit x86 Architecture, Version 6.2 - Red Hat, Inc. - Common Criteria BSI-DSZ-CC-0924-2014 - archived
- Red Hat Enterprise Linux 6.2 dm-crypt Cryptographic Module - Red Hat®, Inc. - FIPS 140 1933 - historical
See all 13 in the Security Certifications Explorer.
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
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain