{"schemaVersion":3,"id":"CVE-2002-0638","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2003-04-02T05:00:00.000Z","modified":"2024-08-08T02:56:38.516Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.2,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:H/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.2,"severity":"medium","vector":"AV:L/AC:H/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00529,"percentile":0.4357,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00529},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00529,"percentile":0.4357}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00529,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00529,"percentile":0.4357}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"hp","product":"secure_os","name":"secure os","label":"secure_os","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0","eol":null,"hubHref":"/vendor/hp/secure_os"},{"vendor":"mandrakesoft","product":"mandrake_linux","name":"mandrake linux","label":"mandrake_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"7.1","noFixRecorded":false,"fixedIn":null},{"text":"7.2","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"8.1","noFixRecorded":false,"fixedIn":null},{"text":"8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 7.1 | 7.2 | 8.0 | 8.1 | 8.2","eol":null,"hubHref":"/vendor/mandrakesoft/mandrake_linux"},{"vendor":"mandrakesoft","product":"mandrake_linux_corporate_server","name":"mandrake linux corporate server","label":"mandrake_linux_corporate_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"1.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.1","eol":null,"hubHref":"/vendor/mandrakesoft/mandrake_linux_corporate_server"},{"vendor":"mandrakesoft","product":"mandrake_single_network_firewall","name":"mandrake single network firewall","label":"mandrake_single_network_firewall","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.2","eol":null,"hubHref":"/vendor/mandrakesoft/mandrake_single_network_firewall"},{"vendor":"redhat","product":"linux","name":"linux","label":"linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"6.1","noFixRecorded":false,"fixedIn":null},{"text":"6.2","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"7.1","noFixRecorded":false,"fixedIn":null},{"text":"7.2","noFixRecorded":false,"fixedIn":null},{"text":"7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 6.1 | 6.2 | 7.0 | 7.1 | 7.2 | 7.3","eol":null,"hubHref":"/vendor/redhat/linux"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/bid/5344","label":"www.securityfocus.com/bid/5344","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://www.iss.net/security_center/static/9709.php","label":"www.iss.net/security_center/static/9709.php","hostname":"www.iss.net","tags":["VDB Entry","X Refsource XF"]},{"url":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php","label":"www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php","hostname":"www.linux-mandrake.com","tags":["Vendor Advisory","X Refsource MANDRAKE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2002-132.html","label":"rhn.redhat.com/errata/RHSA-2002-132.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Patch"]},{"url":"http://www.kb.cert.org/vuls/id/405955","label":"www.kb.cert.org/vuls/id/405955","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","Patch","US Government Resource"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html","label":"archives.neohapsis.com/archives/bugtraq/2002-07/0357.html","hostname":"archives.neohapsis.com","tags":["Mailing List","X Refsource VULNWATCH"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523","label":"distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000523","hostname":"distro.conectiva.com.br","tags":["Vendor Advisory","X Refsource CONECTIVA"]},{"url":"http://online.securityfocus.com/advisories/4320","label":"online.securityfocus.com/advisories/4320","hostname":"online.securityfocus.com","tags":["Vendor Advisory","X Refsource HP"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html","label":"archives.neohapsis.com/archives/bugtraq/2002-07/0396.html","hostname":"archives.neohapsis.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://marc.info/?l=bugtraq&m=102795787713996&w=2","label":"marc.info?l=bugtraq&m=102795787713996&w=2","hostname":"marc.info","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-137.html","label":"www.redhat.com/support/errata/RHSA-2002-137.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.osvdb.org/5164","label":"www.osvdb.org/5164","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2003-04-02T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T02:56:38.516Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:37:12.699Z","stale":false,"partial":false}}