CVE-2002-0638

security flaw

Published Apr 2, 2003 CVSS 2.0 · 6.2 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2002-0632 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 8, 2024, 2:56 AM
Reserved
Jun 27, 2002, 12:00 AM
Status
Modified
Published
Aug 12, 2002, 4:00 AM
Modified
Jun 16, 2026, 9:57 PM
Severity
Moderate
Public date
Jul 29, 2002, 12:00 AM