BIT-python-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

Who is exposed to this issue?

The affected code is in Python's CJK codec test support module, Lib/test/multibytecodec_support.py. Exposure therefore applies when these tests are run in affected Python versions and retrieve content over HTTP.

2

What does an attacker need to exploit it?

An attacker needs to control or tamper with HTTP content retrieved by the CJK codec tests. That content is passed to eval(), which can execute attacker-supplied Python expressions.

3

Are normal Python applications affected by default?

The provided information identifies the vulnerable behavior in a test support module and specifically during CJK codec tests. It does not establish exposure for normal application execution outside of those tests.

4

How can I determine whether I may be affected?

Check whether your environment runs CJK codec tests using Lib/test/multibytecodec_support.py and whether those tests retrieve data via HTTP. Python versions from 3 through 3.9.0 are identified as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203