Date: Sat, 17 Sep 2005 14:04:32 +0200
From: Thierry Carrez <koon@gentoo.org.>
To: [email protected]Subject: [ GLSA 200509-09 ] Py2Play: Remote execution of arbitrary Python
code
X-Enigmail-Version: 0.92.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig4DAD8370DFF14A173389B18E"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4DAD8370DFF14A173389B18E
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200509-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Py2Play: Remote execution of arbitrary Python code
Date: September 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
-------------------------------------------------------------------
1 dev-python/py2play <= 0.1.7 Vulnerable!
-------------------------------------------------------------------
NOTE: Certain packages are still vulnerable. Users should migrate
to another package if one is available or wait for the
existing packages to be marked stable by their
architecture maintainers.
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
==========
The Py2Play package has been hard-masked prior to complete removal from
Portage, and current users are advised to unmerge the package:
# emerge --unmerge dev-python/py2play
References
==========
[ 1 ] CAN-2005-2875
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2875
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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 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.
http://creativecommons.org/licenses/by-sa/2.0
--------------enig4DAD8370DFF14A173389B18E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDLAZXvcL1obalX08RAt0OAJ4sOkbQo5GLRbhgFW8xDs0TVqUrVQCeN0rW
LLlpQR42wiRj8tIsW54EiLU=
=QSSO
-----END PGP SIGNATURE-----
--------------enig4DAD8370DFF14A173389B18E--