Security mailing lists by PureSourceCode

CVE-2002-0638

MEDIUM 6.2CVSS 2.0

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.

Published
12 Aug 2002
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mandrakesoft mandrake_single_network_firewall
cpe:2.3:a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:*
= 7.2
NVD hp secure_os
cpe:2.3:o:hp:secure_os:1.0:*:linux:*:*:*:*:*
= 1.0
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:7.1:*:*:*:*:*:*:*
= 7.1
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:*
= 7.2
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:*
= 8.0
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:*
= 8.1
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:*
= 8.1
NVD mandrakesoft mandrake_linux
cpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*
= 8.2
NVD mandrakesoft mandrake_linux_corporate_server
cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:1.0.1:*:*:*:*:*:*:*
= 1.0.1
NVD redhat linux
cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*
= 6.0
NVD redhat linux
cpe:2.3:o:redhat:linux:6.0:*:alpha:*:*:*:*:*
= 6.0
NVD redhat linux
cpe:2.3:o:redhat:linux:6.0:*:sparc:*:*:*:*:*
= 6.0
NVD redhat linux
cpe:2.3:o:redhat:linux:6.1:*:*:*:*:*:*:*
= 6.1
NVD redhat linux
cpe:2.3:o:redhat:linux:6.1:*:alpha:*:*:*:*:*
= 6.1
NVD redhat linux
cpe:2.3:o:redhat:linux:6.1:*:sparc:*:*:*:*:*
= 6.1
NVD redhat linux
cpe:2.3:o:redhat:linux:6.2:*:*:*:*:*:*:*
= 6.2
NVD redhat linux
cpe:2.3:o:redhat:linux:6.2:*:alpha:*:*:*:*:*
= 6.2
NVD redhat linux
cpe:2.3:o:redhat:linux:6.2:*:sparc:*:*:*:*:*
= 6.2
NVD redhat linux
cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat linux
cpe:2.3:o:redhat:linux:7.0:*:alpha:*:*:*:*:*
= 7.0
NVD redhat linux
cpe:2.3:o:redhat:linux:7.1:*:*:*:*:*:*:*
= 7.1
NVD redhat linux
cpe:2.3:o:redhat:linux:7.1:*:alpha:*:*:*:*:*
= 7.1
NVD redhat linux
cpe:2.3:o:redhat:linux:7.1:*:ia64:*:*:*:*:*
= 7.1
NVD redhat linux
cpe:2.3:o:redhat:linux:7.2:*:*:*:*:*:*:*
= 7.2
NVD redhat linux
cpe:2.3:o:redhat:linux:7.2:*:alpha:*:*:*:*:*
= 7.2
NVD redhat linux
cpe:2.3:o:redhat:linux:7.2:*:ia64:*:*:*:*:*
= 7.2
NVD redhat linux
cpe:2.3:o:redhat:linux:7.3:*:*:*:*:*:*:*
= 7.3

References

History

  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 12 Aug 2002)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.