Advisory

USN-4754-3

Also known as: CVE-2019-17514, CVE-2019-20907, CVE-2019-9674, CVE-2020-26116, CVE-2020-27619, CVE-2020-8492, CVE-2021-3177

Summary

python2.7, python3.7, python3.8 vulnerabilities

Details

USN-4754-1 fixed vulnerabilities in Python. This update provides
the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04.

In the case of Python 2.7 for 20.04, these additional fixes are included:

It was dicovered that Python allowed remote attackers to cause a denial of
service (resource consumption) via a ZIP bomb. (CVE-2019-9674)

It was discovered that Python had potentially misleading information about
whether sorting occurs. This fix updates the documentation about it.
(CVE-2019-17514)

It was discovered that Python incorrectly handled certain TAR archives.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2019-20907)

It was discovered that Python allowed an HTTP server to conduct Regular
Expression Denial of Service (ReDoS) attacks against a client because of
urllib.request.AbstractBasicAuthHandler catastrophic backtracking.
(CVE-2020-8492)

It was discovered that Python allowed CRLF injection if the attacker controls
the HTTP request method, as demonstrated by inserting CR and LF control
characters in the first argument of HTTPConnection.request. (CVE-2020-26116)

Original advisory details:

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)

Severity

Not rated by the source.

Dates

Published
2021-03-12 14:07 UTC
Modified
2026-10-08 19:46 UTC

Affected packages and fixes

python3.7

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.7.5-2~18.04.4 (ecosystem)

Fixed versions

3.7.5-2~18.04.4

Fix

  • Fixed version 3.7.5-2~18.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.8

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.8.0-3~18.04.1 (ecosystem)

Fixed versions

3.8.0-3~18.04.1

Fix

  • Fixed version 3.8.0-3~18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python2.7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.7.18-1~20.04.1 (ecosystem)

Fixed versions

2.7.18-1~20.04.1

Fix

  • Fixed version 2.7.18-1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences