CVE-2005-1632
Description
Cheetah 0.9.15 and 0.9.16 searches /tmp for modules before PYTHONPATH, allowing local users to execute arbitrary code via a malicious module.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cheetah 0.9.15 and 0.9.16 searches /tmp for modules before PYTHONPATH, allowing local users to execute arbitrary code via a malicious module.
Vulnerability
Cheetah versions 0.9.15 and 0.9.16 have a module search order flaw. When importing modules, Cheetah checks the /tmp directory before the paths specified in the PYTHONPATH environment variable. This allows a local attacker to place a malicious Python module in /tmp that will be loaded instead of the intended module. The issue was reported in a mailing list discussion [1] and confirmed in the NVD entry [2].
Exploitation
An attacker with local access to the system can create a malicious .py or .pyc file in /tmp with the same name as a module that a Cheetah-based application imports. When the application runs and Cheetah attempts to import that module, it will load the attacker's module from /tmp instead of the legitimate module from PYTHONPATH. No special privileges are required beyond the ability to write to /tmp. The attacker does not need to modify the application's code or configuration.
Impact
Successful exploitation allows the attacker to execute arbitrary Python code with the privileges of the user running the Cheetah application. This can lead to full compromise of the application's data and functionality, including potential privilege escalation if the application runs with elevated permissions. The impact is limited to local users, but on multi-user systems it poses a significant risk.
Mitigation
The vulnerability exists in Cheetah 0.9.15 and 0.9.16. According to the mailing list discussion [1], the issue was acknowledged and a fix was likely applied in subsequent releases. Users should upgrade to a version newer than 0.9.16. As of the publication date (2005-05-17), no specific patch version is mentioned in the references. A workaround is to ensure that /tmp is not writable by untrusted users or to configure the system to restrict module loading from world-writable directories. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cheetahPyPI | >= 0.9.15, <= 0.9.16 | — |
Affected products
4cpe:2.3:a:tavis_rudd:cheetah:0.9.15:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:tavis_rudd:cheetah:0.9.15:*:*:*:*:*:*:*
- cpe:2.3:a:tavis_rudd:cheetah:0.9.16:*:*:*:*:*:*:*
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- sourceforge.net/mailarchive/forum.phpnvdPatch
- secunia.com/advisories/15386nvdVendor Advisory
- github.com/advisories/GHSA-vxf2-7rc3-pxmxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2005-1632ghsaADVISORY
- web.archive.org/web/20050430021153/http://sourceforge.net/mailarchive/forum.phpghsaWEB
- www.osvdb.org/16622nvd
News mentions
0No linked articles in our index yet.