GLSA 201805-02: Python: Buffer overflow

Severity:normal
Title:Python: Buffer overflow
Date:05/02/2018
Bugs: #637938
ID:201805-02

Synopsis

A buffer overflow in Python might allow remote attackers to execute arbitrary code.

Background

Python is an interpreted, interactive, object-oriented programming language.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/python < 2.7.14 >= 2.7.14 All supported architectures

Description

A buffer overflow was discovered in Python’s PyString_DecodeEscape function in stringobject.c.

Impact

Remote attackers, by enticing a user to process a specially crafted file, could execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All Python 2 users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-lang/python-2.7.14:2.7"
    

References

Availability

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