Back
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…
Medium6.2EPSS 0.53%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 0.53% · top 55% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (12)
- 5344 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- utillinux-chfn-race-condition(9709) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- MDKSA-2002:047 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- RHSA-2002:132 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- VU#405955 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- 20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability (opens in a new tab)mailing-listx_refsource_VULNWATCHx_transferred
- CLA-2002:523 (opens in a new tab)vendor-advisoryx_refsource_CONECTIVAx_transferred
- HPSBTL0207-054 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 20020730 TSLSA-2002-0064 - util-linux (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2002:137 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 5164 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .