GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2002-0638 (GCVE-0-2002-0638)

Vulnerability from cvelistv5 – Published: 2003-04-02 05:00 – Updated: 2024-08-08 02:56
VLAI
Summary
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.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA… vendor-advisoryx_refsource_CALDERA
http://www.securityfocus.com/bid/5344 vdb-entryx_refsource_BID
http://www.iss.net/security_center/static/9709.php vdb-entryx_refsource_XF
http://www.linux-mandrake.com/en/security/2002/MD… vendor-advisoryx_refsource_MANDRAKE
http://rhn.redhat.com/errata/RHSA-2002-132.html vendor-advisoryx_refsource_REDHAT
http://www.kb.cert.org/vuls/id/405955 third-party-advisoryx_refsource_CERT-VN
http://archives.neohapsis.com/archives/bugtraq/20… mailing-listx_refsource_VULNWATCH
http://distro.conectiva.com.br/atualizacoes/?id=a… vendor-advisoryx_refsource_CONECTIVA
http://online.securityfocus.com/advisories/4320 vendor-advisoryx_refsource_HP
http://archives.neohapsis.com/archives/bugtraq/20… mailing-listx_refsource_BUGTRAQ
http://marc.info/?l=bugtraq&m=102795787713996&w=2 mailing-listx_refsource_BUGTRAQ
http://www.redhat.com/support/errata/RHSA-2002-137.html vendor-advisoryx_refsource_REDHAT
http://www.osvdb.org/5164 vdb-entryx_refsource_OSVDB
Date Public
2002-07-29 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T02:56:38.516Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "CSSA-2002-043.0",
            "tags": [
              "vendor-advisory",
              "x_refsource_CALDERA",
              "x_transferred"
            ],
            "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
          },
          {
            "name": "5344",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/5344"
          },
          {
            "name": "utillinux-chfn-race-condition(9709)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "http://www.iss.net/security_center/static/9709.php"
          },
          {
            "name": "MDKSA-2002:047",
            "tags": [
              "vendor-advisory",
              "x_refsource_MANDRAKE",
              "x_transferred"
            ],
            "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
          },
          {
            "name": "RHSA-2002:132",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
          },
          {
            "name": "VU#405955",
            "tags": [
              "third-party-advisory",
              "x_refsource_CERT-VN",
              "x_transferred"
            ],
            "url": "http://www.kb.cert.org/vuls/id/405955"
          },
          {
            "name": "20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_VULNWATCH",
              "x_transferred"
            ],
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
          },
          {
            "name": "CLA-2002:523",
            "tags": [
              "vendor-advisory",
              "x_refsource_CONECTIVA",
              "x_transferred"
            ],
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
          },
          {
            "name": "HPSBTL0207-054",
            "tags": [
              "vendor-advisory",
              "x_refsource_HP",
              "x_transferred"
            ],
            "url": "http://online.securityfocus.com/advisories/4320"
          },
          {
            "name": "20020730 TSLSA-2002-0064 - util-linux",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
          },
          {
            "name": "20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
          },
          {
            "name": "RHSA-2002:137",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
          },
          {
            "name": "5164",
            "tags": [
              "vdb-entry",
              "x_refsource_OSVDB",
              "x_transferred"
            ],
            "url": "http://www.osvdb.org/5164"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2002-07-29T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2003-03-21T00:00:00.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "CSSA-2002-043.0",
          "tags": [
            "vendor-advisory",
            "x_refsource_CALDERA"
          ],
          "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
        },
        {
          "name": "5344",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/5344"
        },
        {
          "name": "utillinux-chfn-race-condition(9709)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "http://www.iss.net/security_center/static/9709.php"
        },
        {
          "name": "MDKSA-2002:047",
          "tags": [
            "vendor-advisory",
            "x_refsource_MANDRAKE"
          ],
          "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
        },
        {
          "name": "RHSA-2002:132",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
        },
        {
          "name": "VU#405955",
          "tags": [
            "third-party-advisory",
            "x_refsource_CERT-VN"
          ],
          "url": "http://www.kb.cert.org/vuls/id/405955"
        },
        {
          "name": "20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_VULNWATCH"
          ],
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
        },
        {
          "name": "CLA-2002:523",
          "tags": [
            "vendor-advisory",
            "x_refsource_CONECTIVA"
          ],
          "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
        },
        {
          "name": "HPSBTL0207-054",
          "tags": [
            "vendor-advisory",
            "x_refsource_HP"
          ],
          "url": "http://online.securityfocus.com/advisories/4320"
        },
        {
          "name": "20020730 TSLSA-2002-0064 - util-linux",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
        },
        {
          "name": "20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
        },
        {
          "name": "RHSA-2002:137",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
        },
        {
          "name": "5164",
          "tags": [
            "vdb-entry",
            "x_refsource_OSVDB"
          ],
          "url": "http://www.osvdb.org/5164"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2002-0638",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "CSSA-2002-043.0",
              "refsource": "CALDERA",
              "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
            },
            {
              "name": "5344",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/5344"
            },
            {
              "name": "utillinux-chfn-race-condition(9709)",
              "refsource": "XF",
              "url": "http://www.iss.net/security_center/static/9709.php"
            },
            {
              "name": "MDKSA-2002:047",
              "refsource": "MANDRAKE",
              "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
            },
            {
              "name": "RHSA-2002:132",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
            },
            {
              "name": "VU#405955",
              "refsource": "CERT-VN",
              "url": "http://www.kb.cert.org/vuls/id/405955"
            },
            {
              "name": "20020729 [VulnWatch] RAZOR advisory: Linux util-linux chfn local root vulnerability",
              "refsource": "VULNWATCH",
              "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
            },
            {
              "name": "CLA-2002:523",
              "refsource": "CONECTIVA",
              "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
            },
            {
              "name": "HPSBTL0207-054",
              "refsource": "HP",
              "url": "http://online.securityfocus.com/advisories/4320"
            },
            {
              "name": "20020730 TSLSA-2002-0064 - util-linux",
              "refsource": "BUGTRAQ",
              "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
            },
            {
              "name": "20020729 RAZOR advisory: Linux util-linux chfn local root vulnerability",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
            },
            {
              "name": "RHSA-2002:137",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
            },
            {
              "name": "5164",
              "refsource": "OSVDB",
              "url": "http://www.osvdb.org/5164"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2002-0638",
    "datePublished": "2003-04-02T05:00:00.000Z",
    "dateReserved": "2002-06-27T00:00:00.000Z",
    "dateUpdated": "2024-08-08T02:56:38.516Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2002-0638",
      "date": "2026-09-18",
      "epss": "0.00529",
      "percentile": "0.43659"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7A188467-3856-4599-A2CD-BD2655974B63",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:hp:secure_os:1.0:*:linux:*:*:*:*:*",
                  "matchCriteriaId": "B345284D-6842-47C0-B823-B5DDC30CC8A6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E4853E92-5E0A-47B9-A343-D5BEE87D2C27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3EC1FF5D-5EAB-44D5-B281-770547C70D68",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "0A8FBD5A-2FD0-43CD-AC4B-1D6984D336FE",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4371A667-18E1-4C54-B2E1-6F885F22F213",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:*",
                  "matchCriteriaId": "5B28763D-8F4B-45E5-82FA-AB7E54C18EBF",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "205EF72B-7334-4AE0-9CA6-D2E8E5910C8E",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:*",
                  "matchCriteriaId": "613A22EC-D93C-48B0-B97C-3E0DDFBD0B62",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DEB99324-3062-426F-8E2F-44DC3A7ADB2A",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:1.0.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "97E09AD9-F057-4264-88BB-A8A18C1B1246",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2DFA94D5-0139-490C-8257-0751FE9FBAE4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.0:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "6931FB54-A163-4CE3-BBD9-D345AA0977A6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.0:*:sparc:*:*:*:*:*",
                  "matchCriteriaId": "5ABD1331-277C-4C31-8186-978243C62255",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2EC4D3AB-38FA-4D44-AF5C-2DCD15994E76",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.1:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "C89454B9-4F45-4A42-A06D-ED42D893C544",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.1:*:sparc:*:*:*:*:*",
                  "matchCriteriaId": "1E64093E-7D53-4238-95C3-48ED5A0FFD97",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "0633B5A6-7A88-4A96-9462-4C09D124ED36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.2:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "344610A8-DB6D-4407-9304-916C419F648C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:6.2:*:sparc:*:*:*:*:*",
                  "matchCriteriaId": "64775BEF-2E53-43CA-8639-A7E54F6F4222",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "29B186E5-7C2F-466E-AA4A-8F2B618F8A14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.0:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "FD6576E2-9F26-4857-9F28-F51899F1EF48",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1D46E093-1C68-43BB-B281-12117EC8DE0F",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.1:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "7F3FAAB3-7A8A-42E5-9DCE-E4A843CED1B9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.1:*:ia64:*:*:*:*:*",
                  "matchCriteriaId": "ED36543D-C21B-4B4B-A6AD-6E19B08B5DD7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E562907F-D915-4030-847A-3C6834A80D4E",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.2:*:alpha:*:*:*:*:*",
                  "matchCriteriaId": "6EAAC51F-9DC5-4026-8147-1B74975D6183",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.2:*:ia64:*:*:*:*:*",
                  "matchCriteriaId": "9D47D6FE-56A9-42CF-9A9B-AEE272C061F7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:linux:7.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "138985E6-5107-4E8B-A801-C3D5FE075227",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        },
        {
          "lang": "es",
          "value": "setpwnam.c en el paquete util-linux, como se incluye en Red Hat Linux 7.3 y antieriores, y en otros sistemas operativos, no bloquea adecuadamente un fichero temporal cuando se modifica /etc/passwd, lo que puede permitir a usuarios locales ganar privilegios mediante una compleja condici\u00f3n de carrera que usa un descriptor de fichero abierto en utilidades como chfn y chsh."
        }
      ],
      "id": "CVE-2002-0638",
      "lastModified": "2024-11-20T23:39:31.580",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "HIGH",
              "accessVector": "LOCAL",
              "authentication": "NONE",
              "availabilityImpact": "COMPLETE",
              "baseScore": 6.2,
              "confidentialityImpact": "COMPLETE",
              "integrityImpact": "COMPLETE",
              "vectorString": "AV:L/AC:H/Au:N/C:C/I:C/A:C",
              "version": "2.0"
            },
            "exploitabilityScore": 1.9,
            "impactScore": 10.0,
            "obtainAllPrivilege": true,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ]
      },
      "published": "2002-08-12T04:00:00.000",
      "references": [
        {
          "source": "cve@mitre.org",
          "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://online.securityfocus.com/advisories/4320"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.iss.net/security_center/static/9709.php"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Patch",
            "Third Party Advisory",
            "US Government Resource"
          ],
          "url": "http://www.kb.cert.org/vuls/id/405955"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.osvdb.org/5164"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.securityfocus.com/bid/5344"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://online.securityfocus.com/advisories/4320"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.iss.net/security_center/static/9709.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory",
            "US Government Resource"
          ],
          "url": "http://www.kb.cert.org/vuls/id/405955"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.osvdb.org/5164"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.securityfocus.com/bid/5344"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "NVD-CWE-Other"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7A188467-3856-4599-A2CD-BD2655974B63",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:hp:secure_os:1.0:*:linux:*:*:*:*:*",
                    "matchCriteriaId": "B345284D-6842-47C0-B823-B5DDC30CC8A6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E4853E92-5E0A-47B9-A343-D5BEE87D2C27",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3EC1FF5D-5EAB-44D5-B281-770547C70D68",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0A8FBD5A-2FD0-43CD-AC4B-1D6984D336FE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4371A667-18E1-4C54-B2E1-6F885F22F213",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:*",
                    "matchCriteriaId": "5B28763D-8F4B-45E5-82FA-AB7E54C18EBF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "205EF72B-7334-4AE0-9CA6-D2E8E5910C8E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:*",
                    "matchCriteriaId": "613A22EC-D93C-48B0-B97C-3E0DDFBD0B62",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DEB99324-3062-426F-8E2F-44DC3A7ADB2A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:1.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "97E09AD9-F057-4264-88BB-A8A18C1B1246",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2DFA94D5-0139-490C-8257-0751FE9FBAE4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.0:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "6931FB54-A163-4CE3-BBD9-D345AA0977A6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.0:*:sparc:*:*:*:*:*",
                    "matchCriteriaId": "5ABD1331-277C-4C31-8186-978243C62255",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2EC4D3AB-38FA-4D44-AF5C-2DCD15994E76",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.1:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "C89454B9-4F45-4A42-A06D-ED42D893C544",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.1:*:sparc:*:*:*:*:*",
                    "matchCriteriaId": "1E64093E-7D53-4238-95C3-48ED5A0FFD97",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0633B5A6-7A88-4A96-9462-4C09D124ED36",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.2:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "344610A8-DB6D-4407-9304-916C419F648C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:6.2:*:sparc:*:*:*:*:*",
                    "matchCriteriaId": "64775BEF-2E53-43CA-8639-A7E54F6F4222",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "29B186E5-7C2F-466E-AA4A-8F2B618F8A14",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.0:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "FD6576E2-9F26-4857-9F28-F51899F1EF48",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1D46E093-1C68-43BB-B281-12117EC8DE0F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.1:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "7F3FAAB3-7A8A-42E5-9DCE-E4A843CED1B9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.1:*:ia64:*:*:*:*:*",
                    "matchCriteriaId": "ED36543D-C21B-4B4B-A6AD-6E19B08B5DD7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E562907F-D915-4030-847A-3C6834A80D4E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.2:*:alpha:*:*:*:*:*",
                    "matchCriteriaId": "6EAAC51F-9DC5-4026-8147-1B74975D6183",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.2:*:ia64:*:*:*:*:*",
                    "matchCriteriaId": "9D47D6FE-56A9-42CF-9A9B-AEE272C061F7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:linux:7.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "138985E6-5107-4E8B-A801-C3D5FE075227",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          },
          {
            "lang": "es",
            "value": "setpwnam.c en el paquete util-linux, como se incluye en Red Hat Linux 7.3 y antieriores, y en otros sistemas operativos, no bloquea adecuadamente un fichero temporal cuando se modifica /etc/passwd, lo que puede permitir a usuarios locales ganar privilegios mediante una compleja condici\u00f3n de carrera que usa un descriptor de fichero abierto en utilidades como chfn y chsh."
          }
        ],
        "id": "CVE-2002-0638",
        "lastModified": "2026-04-16T00:27:16.627",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "HIGH",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "COMPLETE",
                "baseScore": 6.2,
                "confidentialityImpact": "COMPLETE",
                "integrityImpact": "COMPLETE",
                "vectorString": "AV:L/AC:H/Au:N/C:C/I:C/A:C",
                "version": "2.0"
              },
              "exploitabilityScore": 1.9,
              "impactScore": 10.0,
              "obtainAllPrivilege": true,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2002-08-12T04:00:00.000",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://online.securityfocus.com/advisories/4320"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.iss.net/security_center/static/9709.php"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Third Party Advisory",
              "US Government Resource"
            ],
            "url": "http://www.kb.cert.org/vuls/id/405955"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.osvdb.org/5164"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.securityfocus.com/bid/5344"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-043.0.txt"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0357.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://archives.neohapsis.com/archives/bugtraq/2002-07/0396.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000523"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://marc.info/?l=bugtraq\u0026m=102795787713996\u0026w=2"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://online.securityfocus.com/advisories/4320"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2002-132.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.iss.net/security_center/static/9709.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Third Party Advisory",
              "US Government Resource"
            ],
            "url": "http://www.kb.cert.org/vuls/id/405955"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-047.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.osvdb.org/5164"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.redhat.com/support/errata/RHSA-2002-137.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securityfocus.com/bid/5344"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-Other"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T13:35:23+00:00",
      "cve": "CVE-2002-0638",
      "id": "CVE-2002-0638",
      "initial_release_date": "2002-07-29T00:00:00+00:00",
      "product_status:fixed": "6",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "security flaw",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2002/cve-2002-0638.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…