{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2008-08-05T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2009-02-05T10:00:00",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "name": "[debian-bugs] 20081112 Bug#493937: [Patch] Prevent loading of Python modules in working directory",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=482814"
                },
                {
                    "name": "FEDORA-2010-9652",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html"
                },
                {
                    "name": "51087",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/51087"
                },
                {
                    "name": "[oss-security] 20090130 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/01/30/2"
                },
                {
                    "name": "USN-1616-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "http://www.ubuntu.com/usn/USN-1616-1"
                },
                {
                    "name": "51040",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/51040"
                },
                {
                    "name": "GLSA-200903-41",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "http://security.gentoo.org/glsa/glsa-200903-41.xml"
                },
                {
                    "name": "[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/01/26/2"
                },
                {
                    "name": "ADV-2010-1448",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_VUPEN"
                    ],
                    "url": "http://www.vupen.com/english/advisories/2010/1448"
                },
                {
                    "name": "50858",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/50858"
                },
                {
                    "name": "[debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html"
                },
                {
                    "name": "GLSA-200904-06",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "http://security.gentoo.org/glsa/glsa-200904-06.xml"
                },
                {
                    "name": "ADV-2011-0122",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_VUPEN"
                    ],
                    "url": "http://www.vupen.com/english/advisories/2011/0122"
                },
                {
                    "name": "[oss-security] 20090128 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/01/28/5"
                },
                {
                    "name": "34522",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/34522"
                },
                {
                    "name": "42888",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/42888"
                },
                {
                    "name": "USN-1596-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "http://www.ubuntu.com/usn/USN-1596-1"
                },
                {
                    "name": "40194",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/40194"
                },
                {
                    "name": "RHSA-2011:0027",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://www.redhat.com/support/errata/RHSA-2011-0027.html"
                },
                {
                    "name": "USN-1613-2",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "http://www.ubuntu.com/usn/USN-1613-2"
                },
                {
                    "name": "51024",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/51024"
                },
                {
                    "name": "USN-1613-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "http://www.ubuntu.com/usn/USN-1613-1"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2008-5983",
                    "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": "Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "[debian-bugs] 20081112 Bug#493937: [Patch] Prevent loading of Python modules in working directory",
                            "refsource": "MLIST",
                            "url": "http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html"
                        },
                        {
                            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=482814",
                            "refsource": "MISC",
                            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=482814"
                        },
                        {
                            "name": "FEDORA-2010-9652",
                            "refsource": "FEDORA",
                            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html"
                        },
                        {
                            "name": "51087",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/51087"
                        },
                        {
                            "name": "[oss-security] 20090130 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                            "refsource": "MLIST",
                            "url": "http://www.openwall.com/lists/oss-security/2009/01/30/2"
                        },
                        {
                            "name": "USN-1616-1",
                            "refsource": "UBUNTU",
                            "url": "http://www.ubuntu.com/usn/USN-1616-1"
                        },
                        {
                            "name": "51040",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/51040"
                        },
                        {
                            "name": "GLSA-200903-41",
                            "refsource": "GENTOO",
                            "url": "http://security.gentoo.org/glsa/glsa-200903-41.xml"
                        },
                        {
                            "name": "[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                            "refsource": "MLIST",
                            "url": "http://www.openwall.com/lists/oss-security/2009/01/26/2"
                        },
                        {
                            "name": "ADV-2010-1448",
                            "refsource": "VUPEN",
                            "url": "http://www.vupen.com/english/advisories/2010/1448"
                        },
                        {
                            "name": "50858",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/50858"
                        },
                        {
                            "name": "[debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd",
                            "refsource": "MLIST",
                            "url": "http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html"
                        },
                        {
                            "name": "GLSA-200904-06",
                            "refsource": "GENTOO",
                            "url": "http://security.gentoo.org/glsa/glsa-200904-06.xml"
                        },
                        {
                            "name": "ADV-2011-0122",
                            "refsource": "VUPEN",
                            "url": "http://www.vupen.com/english/advisories/2011/0122"
                        },
                        {
                            "name": "[oss-security] 20090128 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                            "refsource": "MLIST",
                            "url": "http://www.openwall.com/lists/oss-security/2009/01/28/5"
                        },
                        {
                            "name": "34522",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/34522"
                        },
                        {
                            "name": "42888",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/42888"
                        },
                        {
                            "name": "USN-1596-1",
                            "refsource": "UBUNTU",
                            "url": "http://www.ubuntu.com/usn/USN-1596-1"
                        },
                        {
                            "name": "40194",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/40194"
                        },
                        {
                            "name": "RHSA-2011:0027",
                            "refsource": "REDHAT",
                            "url": "http://www.redhat.com/support/errata/RHSA-2011-0027.html"
                        },
                        {
                            "name": "USN-1613-2",
                            "refsource": "UBUNTU",
                            "url": "http://www.ubuntu.com/usn/USN-1613-2"
                        },
                        {
                            "name": "51024",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/51024"
                        },
                        {
                            "name": "USN-1613-1",
                            "refsource": "UBUNTU",
                            "url": "http://www.ubuntu.com/usn/USN-1613-1"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-07T11:13:14.117Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "[debian-bugs] 20081112 Bug#493937: [Patch] Prevent loading of Python modules in working directory",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg586010.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=482814"
                    },
                    {
                        "name": "FEDORA-2010-9652",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html"
                    },
                    {
                        "name": "51087",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/51087"
                    },
                    {
                        "name": "[oss-security] 20090130 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/01/30/2"
                    },
                    {
                        "name": "USN-1616-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "http://www.ubuntu.com/usn/USN-1616-1"
                    },
                    {
                        "name": "51040",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/51040"
                    },
                    {
                        "name": "GLSA-200903-41",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "http://security.gentoo.org/glsa/glsa-200903-41.xml"
                    },
                    {
                        "name": "[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/01/26/2"
                    },
                    {
                        "name": "ADV-2010-1448",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_VUPEN",
                            "x_transferred"
                        ],
                        "url": "http://www.vupen.com/english/advisories/2010/1448"
                    },
                    {
                        "name": "50858",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/50858"
                    },
                    {
                        "name": "[debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html"
                    },
                    {
                        "name": "GLSA-200904-06",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "http://security.gentoo.org/glsa/glsa-200904-06.xml"
                    },
                    {
                        "name": "ADV-2011-0122",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_VUPEN",
                            "x_transferred"
                        ],
                        "url": "http://www.vupen.com/english/advisories/2011/0122"
                    },
                    {
                        "name": "[oss-security] 20090128 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/01/28/5"
                    },
                    {
                        "name": "34522",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/34522"
                    },
                    {
                        "name": "42888",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/42888"
                    },
                    {
                        "name": "USN-1596-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "http://www.ubuntu.com/usn/USN-1596-1"
                    },
                    {
                        "name": "40194",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/40194"
                    },
                    {
                        "name": "RHSA-2011:0027",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://www.redhat.com/support/errata/RHSA-2011-0027.html"
                    },
                    {
                        "name": "USN-1613-2",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "http://www.ubuntu.com/usn/USN-1613-2"
                    },
                    {
                        "name": "51024",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/51024"
                    },
                    {
                        "name": "USN-1613-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "http://www.ubuntu.com/usn/USN-1613-1"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2008-5983",
        "datePublished": "2009-01-28T02:00:00",
        "dateReserved": "2009-01-27T00:00:00",
        "dateUpdated": "2024-08-07T11:13:14.117Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}