Python: Multiple vulnerabilities — GLSA 202101-18

Multiple vulnerabilities have been found in Python, the worst of which could result in the arbitrary execution of code.

Affected packages

dev-lang/python on all architectures
Affected versions < 2.7.18-r6
< 3.6.12-r2
< 3.7.9-r2
< 3.8.7-r1
< 3.9.1-r1
Unaffected versions >= 2.7.18-r6
>= 3.6.12-r2
>= 3.7.9-r2
>= 3.8.7-r1
>= 3.9.1-r1

Background

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

Description

Multiple vulnerabilities have been discovered in Python. Please review the bugs referenced below for details.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Python 2.7 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-2.7.18-r5"
 

All Python 3.6 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.6.12-r1"
 

All Python 3.7 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.7.9-r1"
 

All Python 3.8 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.8.6-r1"
 

All Python 3.9 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.9.0-r1"
 

References

Release date
January 24, 2021

Latest revision
January 24, 2021: 1

Severity
normal

Exploitable
remote

Bugzilla entries