Python: PCRE Integer overflow — GLSA 200802-10

A vulnerability within Python's copy of PCRE might lead to the execution of arbitrary code.

Affected packages

dev-lang/python on all architectures
Affected versions < 2.3.6-r4
Unaffected versions >= 2.3.6-r4

Background

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

Description

Python 2.3 includes a copy of PCRE which is vulnerable to an integer overflow vulnerability, leading to a buffer overflow.

Impact

An attacker could exploit the vulnerability by tricking a vulnerable Python application to compile a regular expressions, which could possibly lead to the execution of arbitrary code, a Denial of Service or the disclosure of sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All Python 2.3 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-2.3.6-r4"

References

Release date
February 23, 2008

Latest revision
February 23, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries