{"api_version":"1","generated_at":"2026-06-20T13:44:54+00:00","cve":"CVE-2008-5984","urls":{"html":"https://cve.report/CVE-2008-5984","api":"https://cve.report/api/cve/CVE-2008-5984.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-5984","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-5984"},"summary":{"title":"CVE-2008-5984","description":"Untrusted search path vulnerability in the Python plugin in Dia 0.96.1, and possibly other versions, allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).","state":"PUBLISHED","assigner":"mitre","published_at":"2009-01-28 11:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.9","severity":"","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481551","name":"https://bugzilla.redhat.com/show_bug.cgi?id=481551","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 481551 – CVE-2008-5984 dia: untrusted python modules search path","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/33703","name":"http://secunia.com/advisories/33703","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fedora update for dia - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:046","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:046","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2009:046 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48262","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48262","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/33448","name":"http://www.securityfocus.com/bid/33448","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Dia 'PySys_SetArgv' Remote Command Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251","name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#504251 - dia: Python scripts load modules from current directory - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:040","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:040","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2009:040 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/01/26/2","name":"http://www.openwall.com/lists/oss-security/2009/01/26/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany,\n\tcsound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01065.html","name":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01065.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 9 Update: dia-0.96.1-7.fc9","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/33672","name":"http://secunia.com/advisories/33672","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Dia Insecure Python Module Search Path Vulnerability - Advisories - Community","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5984","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5984","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"5984","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"dia","cpe5":"dia","cpe6":"0.96.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T11:13:13.702Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FEDORA-2009-1057","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01065.html"},{"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":"MDVSA-2009:046","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:046"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251"},{"name":"MDVSA-2009:040","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:040"},{"name":"33448","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/33448"},{"name":"33672","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/33672"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481551"},{"name":"33703","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/33703"},{"name":"dia-pysyssetargv-privilege-escalation(48262)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48262"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-11-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"Untrusted search path vulnerability in the Python plugin in Dia 0.96.1, and possibly other versions, allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983)."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"FEDORA-2009-1057","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01065.html"},{"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":"MDVSA-2009:046","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:046"},{"tags":["x_refsource_CONFIRM"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251"},{"name":"MDVSA-2009:040","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:040"},{"name":"33448","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/33448"},{"name":"33672","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/33672"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481551"},{"name":"33703","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/33703"},{"name":"dia-pysyssetargv-privilege-escalation(48262)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48262"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5984","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 Python plugin in Dia 0.96.1, and possibly other versions, allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"FEDORA-2009-1057","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01065.html"},{"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":"MDVSA-2009:046","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:046"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251","refsource":"CONFIRM","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504251"},{"name":"MDVSA-2009:040","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:040"},{"name":"33448","refsource":"BID","url":"http://www.securityfocus.com/bid/33448"},{"name":"33672","refsource":"SECUNIA","url":"http://secunia.com/advisories/33672"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=481551","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=481551"},{"name":"33703","refsource":"SECUNIA","url":"http://secunia.com/advisories/33703"},{"name":"dia-pysyssetargv-privilege-escalation(48262)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48262"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-5984","datePublished":"2009-01-28T11:00:00.000Z","dateReserved":"2009-01-27T00:00:00.000Z","dateUpdated":"2024-08-07T11:13:13.702Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-01-28 11:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:dia:dia:0.96.1:*:*:*:*:*:*:*","matchCriteriaId":"AD3662FF-8A42-412F-9F13-5ADC7AA1AA91"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"5984","Ordinal":"1","Title":"CVE-2008-5984","CVE":"CVE-2008-5984","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"5984","Ordinal":"1","NoteData":"Untrusted search path vulnerability in the Python plugin in Dia 0.96.1, and possibly other versions, allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).","Type":"Description","Title":"CVE-2008-5984"},{"CveYear":"2008","CveId":"5984","Ordinal":"2","NoteData":"2009-01-28","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"5984","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}