# CVE-2002-0638

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2003-04-02 · Modified: 2024-08-08
- Record: https://cvemate.com/vulnerability/CVE-2002-0638 · JSON: https://cvemate.com/vulnerability/CVE-2002-0638/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v2.0, NVD) AV:L/AC:H/Au:N/C:C/I:C/A:C
- EPSS: 0.529%, percentile 46.252%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hp secure\_os: 1.0
- mandrakesoft mandrake\_linux: 7.0 \| 7.1 \| 7.2 \| 8.0 \| 8.1 \| 8.2
- mandrakesoft mandrake\_linux\_corporate\_server: 1.0.1
- mandrakesoft mandrake\_single\_network\_firewall: 7.2
- redhat linux: 6.0 \| 6.1 \| 6.2 \| 7.0 \| 7.1 \| 7.2 \| 7.3

## References

- <http://www.securityfocus.com/bid/5344>
- <http://www.iss.net/security_center/static/9709.php>
- <http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php>
- <http://rhn.redhat.com/errata/RHSA-2002-132.html>
- <http://www.kb.cert.org/vuls/id/405955>
- <http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html>
- <http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523>
- <http://online.securityfocus.com/advisories/4320>
- <http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html>
- <http://marc.info/?l=bugtraq&m=102795787713996&w=2>
- <http://www.redhat.com/support/errata/RHSA-2002-137.html>
- <http://www.osvdb.org/5164>

---

Data as of 2026-12-05T04:07:34.576Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
