{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2002-07-29T00:00:00",
            "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",
                "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&anuncio=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&m=102795787713996&w=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&anuncio=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&m=102795787713996&w=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"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-08T02:56:38.516Z"
                },
                "title": "CVE Program Container",
                "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&anuncio=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&m=102795787713996&w=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"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2002-0638",
        "datePublished": "2003-04-02T05:00:00",
        "dateReserved": "2002-06-27T00:00:00",
        "dateUpdated": "2024-08-08T02:56:38.516Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}