BIT-python-min-2020-27619: Critical severity Python Software Foundation Python vulnerability
Published Oct 22, 2020
·Updated
In Python 3 through 3.9.0, the Lib/test/multibytecodecsupport.py CJK codec tests call eval() on content retrieved via HTTP.
Affected Software
1 affected component
Python Software Foundation Python>=3<=3.9.0
Event History
Oct 22, 2020
CVE Published
via OSV·03:16 AM
Data Sourced
via OSV·03:16 AM
DescriptionSeverity
Frequently Asked Questions
1
What must an attacker be able to do to exploit this issue?
An attacker must be able to influence content retrieved over HTTP by the affected CJK codec tests. That content is passed to eval(), which can execute attacker-supplied Python code.
2
Are normal Python applications affected, or only test environments?
The affected code is identified as Lib/test/multibytecodec_support.py and is used by CJK codec tests. The provided data does not establish impact on applications that do not run these tests.
3
How can I determine whether an environment is exposed?
Check whether the environment runs the CJK codec tests and uses Python versions from Python 3 through 3.9.0. Exposure also depends on those tests retrieving HTTP content that an attacker could influence.