{"api_version":"1","generated_at":"2026-05-13T03:12:11+00:00","cve":"CVE-2008-4394","urls":{"html":"https://cve.report/CVE-2008-4394","api":"https://cve.report/api/cve/CVE-2008-4394.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-4394","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-4394"},"summary":{"title":"CVE-2008-4394","description":"Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the current working directory in the Python search path, which allows local users to execute arbitrary code via a modified Python module that is loaded by the (1) ys-apps/portage, (2) net-mail/fetchmail, (3) app-editors/leo ebuilds, and other ebuilds.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-10-10 10:30:05","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":"http://security.gentoo.org/glsa/glsa-200810-02.xml","name":"http://security.gentoo.org/glsa/glsa-200810-02.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Portage: Untrusted search path local root vulnerability — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45792","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45792","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/32228","name":"http://secunia.com/advisories/32228","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Gentoo Portage Insecure Python Module Search Path Security Issue - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/31670","name":"http://www.securityfocus.com/bid/31670","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo 'sys-apps/portage' Search Path Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4394","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4394","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":"4394","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gentoo","cpe5":"portage","cpe6":"2.0.51.22","cpe7":"r3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"4394","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gentoo","cpe5":"portage","cpe6":"2.1.1","cpe7":"r2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"4394","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gentoo","cpe5":"portage","cpe6":"2.1.3.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"4394","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gentoo","cpe5":"portage","cpe6":"2.1.3.11","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"4394","vulnerable":"1","versionEndIncluding":"2.1.4.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gentoo","cpe5":"portage","cpe6":"*","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-07T10:17:09.270Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"32228","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/32228"},{"name":"GLSA-200810-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200810-02.xml"},{"name":"31670","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/31670"},{"name":"portage-search-path-priv-escalation(45792)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45792"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-10-09T00:00:00.000Z","descriptions":[{"lang":"en","value":"Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the current working directory in the Python search path, which allows local users to execute arbitrary code via a modified Python module that is loaded by the (1) ys-apps/portage, (2) net-mail/fetchmail, (3) app-editors/leo ebuilds, and other ebuilds."}],"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":"32228","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/32228"},{"name":"GLSA-200810-02","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200810-02.xml"},{"name":"31670","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/31670"},{"name":"portage-search-path-priv-escalation(45792)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45792"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-4394","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":"Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the current working directory in the Python search path, which allows local users to execute arbitrary code via a modified Python module that is loaded by the (1) ys-apps/portage, (2) net-mail/fetchmail, (3) app-editors/leo ebuilds, and other ebuilds."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"32228","refsource":"SECUNIA","url":"http://secunia.com/advisories/32228"},{"name":"GLSA-200810-02","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200810-02.xml"},{"name":"31670","refsource":"BID","url":"http://www.securityfocus.com/bid/31670"},{"name":"portage-search-path-priv-escalation(45792)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45792"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-4394","datePublished":"2008-10-10T10:00:00.000Z","dateReserved":"2008-10-02T00:00:00.000Z","dateUpdated":"2024-08-07T10:17:09.270Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-10-10 10:30:05","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":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*","versionEndIncluding":"2.1.4.4","matchCriteriaId":"DF07C844-F3BF-4B64-9067-019011E752E0"},{"vulnerable":true,"criteria":"cpe:2.3:a:gentoo:portage:2.0.51.22:r3:*:*:*:*:*:*","matchCriteriaId":"B1A333DF-BC3A-4DDE-A5E3-41FF1EBD78A4"},{"vulnerable":true,"criteria":"cpe:2.3:a:gentoo:portage:2.1.1:r2:*:*:*:*:*:*","matchCriteriaId":"A8469FBB-223E-43B5-8708-B984E72A683F"},{"vulnerable":true,"criteria":"cpe:2.3:a:gentoo:portage:2.1.3.10:*:*:*:*:*:*:*","matchCriteriaId":"F663C7AD-8AEF-4C78-A501-FC72C49F9ADE"},{"vulnerable":true,"criteria":"cpe:2.3:a:gentoo:portage:2.1.3.11:*:*:*:*:*:*:*","matchCriteriaId":"4CA86E5F-4496-4485-99B7-24BB4EDEEAE0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"4394","Ordinal":"1","Title":"CVE-2008-4394","CVE":"CVE-2008-4394","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"4394","Ordinal":"1","NoteData":"Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the current working directory in the Python search path, which allows local users to execute arbitrary code via a modified Python module that is loaded by the (1) ys-apps/portage, (2) net-mail/fetchmail, (3) app-editors/leo ebuilds, and other ebuilds.","Type":"Description","Title":"CVE-2008-4394"},{"CveYear":"2008","CveId":"4394","Ordinal":"2","NoteData":"2008-10-10","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"4394","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}