PSF-2020-6: 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 Lib/test/multibytecodec_support.py CJK codec tests. Exposure therefore applies to environments that run those tests in Python versions through 3.9.0, rather than to ordinary use that does not execute the test code.

2

What does an attacker need to exploit it?

An attacker would need to control or alter content retrieved over HTTP by the affected CJK codec tests. That content is passed to eval(), allowing it to be interpreted as code.

3

Are default production deployments affected?

The provided information identifies the vulnerable behavior only in the Lib/test test module. It does not establish that a default production deployment executes this test code.

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