Cheetah: Untrusted module search path — GLSA 200505-14

Cheetah contains a vulnerability in the module importing code that can allow a local user to gain escalated privileges.

Affected packages

dev-python/cheetah on all architectures
Affected versions < 0.9.17_rc1
Unaffected versions >= 0.9.17_rc1

Background

Cheetah is a Python powered template engine and code generator.

Description

Brian Bird discovered that Cheetah searches for modules in the world-writable /tmp directory.

Impact

A malicious local user could place a module containing arbitrary code in /tmp, which when imported would run with escalated privileges.

Workaround

There are no known workarounds at this time.

Resolution

All Cheetah users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/cheetah-0.9.17_rc1"

References

Release date
May 19, 2005

Latest revision
May 17, 2006: 02

Severity
normal

Exploitable
local

Bugzilla entries