Bug 481614 - totem: untrusted python modules search path
totem: untrusted python modules search path
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: CVE-2008-5983
  Show dependency treegraph
Reported: 2009-01-26 13:26 EST by Jan Lieskovsky
Modified: 2010-05-19 13:34 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-02 09:24:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2009-01-26 13:26:12 EST
Untrusted search path vulnerability in totem's Python language binding
allows local users to execute arbitrary code via a Trojan horse Python file
in the current working directory, related to an erroneous setting of sys.path
by the PySys_SetArgv function.

References (more details, PoC, reasons why this issue can't be fixed in Python):

Proposed patch:
The Debian patch for similar dia's Python related issue,
available at:


should be sufficient to resolve this issue.
Comment 1 Jan Lieskovsky 2009-01-26 13:27:25 EST
This issue does NOT affect the version of the totem package, as shipped
with Red Hat Enterprise Linux 5.


This issue affects the versions of the totem package, as shipped with
Fedora releases of 9, 10 and devel.

Please fix.
Comment 3 Jan Lieskovsky 2009-01-29 06:29:38 EST
More explanation why this issue wasn't fixed in Python yet, can be
found here:




and here:


Looks like the Python fix won't come anytime soon, so please
fix the issue in the package, till we find the proper Python solution.

Ray Strode's test case to check the work of the fix can be found here:

Comment 4 Bastien Nocera 2009-02-02 09:24:03 EST
Not a Totem bug, but a Python one.
Comment 5 Josh Bressers 2010-05-19 13:34:11 EDT

This issue does not affect the version of the totem package, as shipped with Red Hat Enterprise Linux 5.

Note You need to log in before you can comment on or make changes to this bug.