Advisory Published
Updated

REDHAT-BUG-481570

First published: Mon Jan 26 2009(Updated: )

Untrusted search path vulnerability in the Python language bindings for Nautilus 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): <a href="http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html">http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html</a> Proposed patch: The Debian patch for similar dia's Python related issue, available at: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=pythonpath.diff;att=1;bug=504251">http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=pythonpath.diff;att=1;bug=504251</a> should be sufficient to resolve this issue.

Affected SoftwareAffected VersionHow to fix
Python 2.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-481570?

    The severity of REDHAT-BUG-481570 is categorized as medium due to the potential for arbitrary code execution.

  • How do I fix REDHAT-BUG-481570?

    To fix REDHAT-BUG-481570, you should ensure that Python's sys.path does not include the current working directory when executing scripts.

  • Who is affected by REDHAT-BUG-481570?

    Local users who have access to Python scripts in the Nautilus environment are affected by REDHAT-BUG-481570.

  • What causes the vulnerability in REDHAT-BUG-481570?

    REDHAT-BUG-481570 is caused by an erroneous setting of sys.path by the PySys_SetArgv function in Python.

  • Is there a workaround for REDHAT-BUG-481570?

    A possible workaround for REDHAT-BUG-481570 is to run Python scripts in a controlled environment where the current working directory does not contain untrusted files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203