VYPR
Unrated severityNVD Advisory· Published Aug 12, 2002· Updated Apr 16, 2026

CVE-2002-0638

CVE-2002-0638

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 products

29
  • cpe:2.3:a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:*
  • cpe:2.3:o:hp:secure_os:1.0:*:linux:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:*+ 7 more
    • cpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:7.1:*:*:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:*
    • cpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*
  • cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:1.0.1:*:*:*:*:*:*:*
  • Red Hat/Linux18 versions
    cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*+ 17 more
    • cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.0:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.0:*:sparc:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.1:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.1:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.1:*:sparc:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.2:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.2:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:6.2:*:sparc:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.0:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.1:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.1:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.1:*:ia64:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.2:*:*:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.2:*:alpha:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.2:*:ia64:*:*:*:*:*
    • cpe:2.3:o:redhat:linux:7.3:*:*:*:*:*:*:*

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

13

News mentions

0

No linked articles in our index yet.