Advisory

USN-4127-1

Also known as: CVE-2018-20406, CVE-2018-20852, CVE-2019-10160, CVE-2019-5010, CVE-2019-9636, CVE-2019-9740, CVE-2019-9947, CVE-2019-9948

Summary

python2.7, python3.5, python3.6, python3.7 vulnerabilities

Details

It was discovered that Python incorrectly handled certain pickle files. An
attacker could possibly use this issue to consume memory, leading to a
denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu
18.04 LTS. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when
handling cookies. An attacker could possibly trick Python into sending
cookies to the wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly
handled Unicode encoding during NFKC normalization. An attacker could
possibly use this issue to obtain sensitive information. (CVE-2019-9636,
CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled
parsing certain X509 certificates. An attacker could possibly use this
issue to cause Python to crash, resulting in a denial of service. This
issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote
attacker could possibly use this issue to perform CRLF injection attacks.
(CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file:
scheme. A remote attacker could possibly use this issue to bypass blocklist
meschanisms. (CVE-2019-9948)

Severity

Not rated by the source.

Dates

Published
2019-09-09 17:22 UTC
Modified
2026-10-08 19:46 UTC

Affected packages and fixes

python2.7

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.7.12-1ubuntu0~16.04.8 (ecosystem)

Fixed versions

2.7.12-1ubuntu0~16.04.8

Fix

  • Fixed version 2.7.12-1ubuntu0~16.04.8
    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.5

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 3.5.2-2ubuntu0~16.04.8 (ecosystem)

Fixed versions

3.5.2-2ubuntu0~16.04.8

Fix

  • Fixed version 3.5.2-2ubuntu0~16.04.8
    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 18.04

Affected

  • introduced 0, fixed 2.7.15-4ubuntu4~18.04.1 (ecosystem)

Fixed versions

2.7.15-4ubuntu4~18.04.1

Fix

  • Fixed version 2.7.15-4ubuntu4~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.

python3.6

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.6.8-1~18.04.2 (ecosystem)

Fixed versions

3.6.8-1~18.04.2

Fix

  • Fixed version 3.6.8-1~18.04.2
    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