GLSA 200509-09: Py2Play: Remote execution of arbitrary Python code

Severity:high
Title:Py2Play: Remote execution of arbitrary Python code
Date:09/17/2005
Bugs: #103524
ID:200509-09

Synopsis

A design error in Py2Play allows attackers to execute arbitrary code.

Background

Py2Play is a peer-to-peer network game engine written in Python. Pickling is a Python feature allowing to serialize Python objects into string representations (called pickles) that can be sent over the network.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-python/py2play <= 0.1.7 >= 0.1.8 All supported architectures

Description

Arc Riley discovered that Py2Play uses Python pickles to send objects over a peer-to-peer game network, and that clients accept without restriction the objects and code sent by peers.

Impact

A remote attacker participating in a Py2Play-powered game can send malicious Python pickles, resulting in the execution of arbitrary Python code on the targeted game client.

Workaround

There is no known workaround at this time.

Resolution

All py2play users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-python/py2play-0.1.8"

References

Availability

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