CVE-2002-0638: setpwnam.c in the util-linux package, as included in Red Hat Linux 7.3 and earlier, and other operating system
38
Routine
MEDIUM 6.2WATCHLISTDOWNGRADEMITIGATEMITIGATE
CVE-2002-0638 is a medium-severity flaw (CVSS 6.2) affecting mandrake single network firewall, secure os, mandrake linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
hp secure os MITIGATE
Affected: 1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
mandrakesoft mandrake linux MITIGATE
Affected: 7.0 · 7.1 · 7.2 · 8.0 · 8.1 · 8.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
mandrakesoft mandrake linux corporate server MITIGATE
Affected: 1.0.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
redhat linux MITIGATE
Affected: 6.0 · 6.1 · 6.2 · 7.0 · 7.1 · 7.2 · 7.3
Fixed in: no fixed release known
Safe to downgrade to: a release before 6.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2002-0638?
mandrake single network firewall: downgrade or apply the listed mitigation; secure os: mitigate or apply the listed mitigation; mandrake linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2002-0638 being exploited?
CVE-2002-0638 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2002-0638 affect?
CVE-2002-0638 affects mandrake single network firewall, secure os, mandrake linux. Severity is medium (CVSS 6.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 comple
How urgent is CVE-2002-0638?
Priority 38/100. On your watchlist
Related CVEs
CVE-2002-0083CRITICAL 9.8DOWNGRADEDOWNGRADE Off-by-one error in the channel code of OpenSSH 2.0 through 3.0.2 allows local users or remote malicious serve
CVE-2001-1449HIGH 7.5DOWNGRADEDOWNGRADE The default installation of Apache before 1.3.19 on Mandrake Linux 7.1 through 8.0 and Linux Corporate Server
CVE-2001-1030HIGH 7.5DOWNGRADEDOWNGRADE Squid before 2.3STABLE5 in HTTP accelerator mode does not enable access control lists (ACLs) when the httpd_ac
CVE-2001-0977MEDIUM 5.0DOWNGRADEDOWNGRADE slapd in OpenLDAP 1.x before 1.2.12, and 2.x before 2.0.8, allows remote attackers to cause a denial of servic