GLSA 200505-14: Cheetah: Untrusted module search path

Severity:normal
Title:Cheetah: Untrusted module search path
Date:05/19/2005
Bugs: #92926
ID:200505-14

Synopsis

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

Background

Cheetah is a Python powered template engine and code generator.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-python/cheetah < 0.9.17_rc1 >= 0.9.17_rc1 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200505-14.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!