GLSA 201512-02: IPython: User-assisted execution of arbitrary code

Severity:normal
Title:IPython: User-assisted execution of arbitrary code
Date:12/17/2015
Bugs: #560708
ID:201512-02

Synopsis

A vulnerability in IPython could result in execution of arbitrary JavaScript.

Background

IPython is an advanced interactive shell for Python.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-python/ipython < 3.2.1-r1 >= 3.2.1-r1 All supported architectures

Description

IPython does not properly check the MIME type of a file.

Impact

A remote attacker could entice a user to open a specially crafted text file using IPython, possibly resulting in execution of arbitrary JavaScript with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All IPython users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-python/ipython-3.2.1-r1"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201512-02.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!