Every CVESearch/Get API key

CVE-2002-0638

setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other...

6.2 Medium

CVE-2002-0638 is a medium vulnerability (CVSS 6.2) in Redhat Linux, published August 12, 2002. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 45th percentile. No source names a fixed version.

What does this mean?
Severity
6.2 MediumCVSS 2.0, NVD
Exploit chance
0.53%EPSS, 45th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

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.

Exploit likelihood

0.53%Down 1.0 points since Feb 4, 2022
90%50%10%1%

Affected products

What each source reports

NVD Score used6.2

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.

Record
CVE-2002-0638
CVSS 2.0
6.2 MediumAV:L/AC:H/Au:N/C:C/I:C/A:C
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2002-0638
Updated
2026-11-02
EUVDEUVD-2002-0632No score

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.

Record
EUVD-2002-0632
Updated
2026-11-03
GitHub AdvisoriesGHSA-gmmv-6j82-fwgwNo score

setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other...

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.

Record
GHSA-gmmv-6j82-fwgw
Updated
2026-11-02

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 8 moreShow less
MoveEnter Open