Python, PyPy3: Multiple Vulnerabilities — GLSA 202305-02

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

Affected packages

dev-lang/python on all architectures
Affected versions < 3.8.15_p3
< 3.9.15_p3
< 3.10.8_p3
< 3.11.0_p2
< 3.12.0_alpha1_p2
Unaffected versions >= 3.8.15_p3
>= 3.9.15_p3
>= 3.10.8_p3
>= 3.11.0_p2
>= 3.12.0_alpha1_p2
dev-python/pypy3 on all architectures
Affected versions < 7.3.9_p9
Unaffected versions >= 7.3.9_p9

Background

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

Description

Multiple vulnerabilities have been discovered in Python and PyPy3. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Python 3.8 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.8.15_p3:3.8"
 

All Python 3.9 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.9.15_p3:3.9"
 

All Python 3.10 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.10.8_p3:3.10"
 

All Python 3.11 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.11.0_p2:3.11"
 

All Python 3.12 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/python-3.12.0_alpha1_p2"
 

All PyPy3 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/pypy3-7.3.9_p9"
 

References

Release date
May 03, 2023

Latest revision
May 03, 2023: 1

Severity
high

Exploitable
local and remote

Bugzilla entries