{"id":"CVE-2009-0367","state":"PUBLISHED","title":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an u","description":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an unsafe module, then using a hierarchical module name to access the unsafe module through the whitelisted module.","publishedAt":"2009-03-05T02:00:00.000Z","updatedAt":"2024-08-07T04:31:26.042Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://launchpad.net/bugs/336396","http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","https://gna.org/bugs/index.php?13048","https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","http://www.wesnoth.org/forum/viewtopic.php?t=24340","http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","http://www.wesnoth.org/forum/viewtopic.php?t=24247","http://secunia.com/advisories/34058","http://www.vupen.com/english/advisories/2009/0595","http://launchpad.net/bugs/cve/2009-0367","http://secunia.com/advisories/34236","http://www.debian.org/security/2009/dsa-1737","http://launchpad.net/bugs/335089"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:11.205Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/0xxx/CVE-2009-0367.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-0367","state":"PUBLISHED","datePublished":"2009-03-05T02:00:00.000Z","dateUpdated":"2024-08-07T04:31:26.042Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2009-01-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an unsafe module, then using a hierarchical module name to access the unsafe module through the whitelisted module."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://launchpad.net/bugs/336396","tags":["x_refsource_CONFIRM"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","tags":["x_refsource_CONFIRM"]},{"url":"https://gna.org/bugs/index.php?13048","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","name":"wesnoth-pythonai-code-execution(49058)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","tags":["x_refsource_CONFIRM"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","tags":["x_refsource_CONFIRM"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/34058","name":"34058","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2009/0595","name":"ADV-2009-0595","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://launchpad.net/bugs/cve/2009-0367","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/34236","name":"34236","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2009/dsa-1737","name":"DSA-1737","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://launchpad.net/bugs/335089","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2009-02-24T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-0367","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":"The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an unsafe module, then using a hierarchical module name to access the unsafe module through the whitelisted module."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://launchpad.net/bugs/336396","refsource":"CONFIRM","url":"http://launchpad.net/bugs/336396"},{"name":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","refsource":"CONFIRM","url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog"},{"name":"https://gna.org/bugs/index.php?13048","refsource":"CONFIRM","url":"https://gna.org/bugs/index.php?13048"},{"name":"wesnoth-pythonai-code-execution(49058)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058"},{"name":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","refsource":"CONFIRM","url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340"},{"name":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","refsource":"CONFIRM","url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog"},{"name":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","refsource":"CONFIRM","url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247"},{"name":"34058","refsource":"SECUNIA","url":"http://secunia.com/advisories/34058"},{"name":"ADV-2009-0595","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/0595"},{"name":"http://launchpad.net/bugs/cve/2009-0367","refsource":"CONFIRM","url":"http://launchpad.net/bugs/cve/2009-0367"},{"name":"34236","refsource":"SECUNIA","url":"http://secunia.com/advisories/34236"},{"name":"DSA-1737","refsource":"DEBIAN","url":"http://www.debian.org/security/2009/dsa-1737"},{"name":"http://launchpad.net/bugs/335089","refsource":"CONFIRM","url":"http://launchpad.net/bugs/335089"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://launchpad.net/bugs/336396","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://gna.org/bugs/index.php?13048","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49058","name":"wesnoth-pythonai-code-execution(49058)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24340","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.wesnoth.org/forum/viewtopic.php?t=24247","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/34058","name":"34058","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/0595","name":"ADV-2009-0595","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://launchpad.net/bugs/cve/2009-0367","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/34236","name":"34236","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2009/dsa-1737","name":"DSA-1737","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://launchpad.net/bugs/335089","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T04:31:26.042Z"}}]}}}