CVE-2002-0638
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 6.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- Mandrakesoft Mandrake Single Network Firewall 7.2
- HP Secure Os 1.0
- Mandrakesoft Mandrake Linux 7.0
- Mandrakesoft Mandrake Linux 7.1
- Mandrakesoft Mandrake Linux 7.2
- Mandrakesoft Mandrake Linux 8.0
- Mandrakesoft Mandrake Linux 8.1
- Mandrakesoft Mandrake Linux 8.2
Attack profile CVSS 2.0 · 6.2
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:H/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2002-0638.md and follow it. Check whether this project is affected by CVE-2002-0638. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://rhn.redhat.com/errata/RHSA-2002-132.html
- http://www.kb.cert.org/vuls/id/405955
- http://rhn.redhat.com/errata/RHSA-2002-132.html
- http://www.kb.cert.org/vuls/id/405955
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523
- http://marc.info/?l=bugtraq&m=102795787713996&w=2
- http://online.securityfocus.com/advisories/4320
- http://rhn.redhat.com/errata/RHSA-2002-132.html
- http://www.iss.net/security_center/static/9709.php
- http://www.kb.cert.org/vuls/id/405955
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php
- http://www.osvdb.org/5164
- http://www.redhat.com/support/errata/RHSA-2002-137.html
- http://www.securityfocus.com/bid/5344
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html
- http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523
- http://marc.info/?l=bugtraq&m=102795787713996&w=2
- http://online.securityfocus.com/advisories/4320
- http://rhn.redhat.com/errata/RHSA-2002-132.html
- http://www.iss.net/security_center/static/9709.php
- http://www.kb.cert.org/vuls/id/405955
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php
- http://www.osvdb.org/5164
- http://www.redhat.com/support/errata/RHSA-2002-137.html