USN-4754-1: Python vulnerabilities

Published Feb 25, 2021
·
Updated

It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)

Affected Software

32 affected componentsFixes available
All of the following
ubuntu/python3.8<3.8.6-1ubuntu0.2
3.8.6-1ubuntu0.2
Ubuntu Ubuntu=20.10
All of the following
ubuntu/python3.8-minimal<3.8.6-1ubuntu0.2
3.8.6-1ubuntu0.2
Ubuntu Ubuntu=20.10
All of the following
ubuntu/python3.8<3.8.5-1~20.04.2
3.8.5-1~20.04.2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python3.8-minimal<3.8.5-1~20.04.2
3.8.5-1~20.04.2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python2.7<2.7.17-1~18.04ubuntu1.3
2.7.17-1~18.04ubuntu1.3
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python2.7-minimal<2.7.17-1~18.04ubuntu1.3
2.7.17-1~18.04ubuntu1.3
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3.6<3.6.9-1~18.04ubuntu1.4
3.6.9-1~18.04ubuntu1.4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3.6-minimal<3.6.9-1~18.04ubuntu1.4
3.6.9-1~18.04ubuntu1.4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python2.7<2.7.12-1ubuntu0~16.04.14
2.7.12-1ubuntu0~16.04.14
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python2.7-minimal<2.7.12-1ubuntu0~16.04.14
2.7.12-1ubuntu0~16.04.14
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3.5<3.5.2-2ubuntu0~16.04.13
3.5.2-2ubuntu0~16.04.13
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3.5-minimal<3.5.2-2ubuntu0~16.04.13
3.5.2-2ubuntu0~16.04.13
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python2.7<2.7.6-8ubuntu0.6+esm8
2.7.6-8ubuntu0.6+esm8
Ubuntu Ubuntu=14.04
All of the following
ubuntu/python2.7-minimal<2.7.6-8ubuntu0.6+esm8
2.7.6-8ubuntu0.6+esm8
Ubuntu Ubuntu=14.04
All of the following
ubuntu/python3.4<3.4.3-1ubuntu1~14.04.7+esm10
3.4.3-1ubuntu1~14.04.7+esm10
Ubuntu Ubuntu=14.04
All of the following
ubuntu/python3.4-minimal<3.4.3-1ubuntu1~14.04.7+esm10
3.4.3-1ubuntu1~14.04.7+esm10
Ubuntu Ubuntu=14.04

Event History

Feb 25, 2021
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Python vulnerability?

The vulnerability ID for this Python vulnerability is CVE-2020-27619 and CVE-2021-3177.

2

What is the severity of USN-4754-1?

The severity of USN-4754-1 is not specified in the provided information.

3

How can an attacker exploit this vulnerability?

An attacker could exploit this vulnerability by executing arbitrary code or causing a denial of service.

4

Which versions of Python are affected by this vulnerability?

The versions of Python affected by this vulnerability include 3.8.6-1ubuntu0.2, 3.8.5-1~20.04.2, 2.7.17-1~18.04ubuntu1.3, 3.6.9-1~18.04ubuntu1.4, 2.7.12-1ubuntu0~16.04.14, 3.5.2-2ubuntu0~16.04.13, 2.7.6-8ubuntu0.6+esm8, and 3.4.3-1ubuntu1~14.04.7+esm10.

5

How can I fix the Python vulnerabilities?

To fix the Python vulnerabilities, update to the recommended versions mentioned in the vulnerability details.

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