Advisory

UBUNTU-CVE-2019-18348

Also known as: CVE-2019-18348

Summary

The record has no summary.

Details

An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2019-10-23 17:15 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.11 (ecosystem)

Fixed versions

2.7.12-1ubuntu0~16.04.11

Fix

  • Fixed version 2.7.12-1ubuntu0~16.04.11
    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.10 (ecosystem)

Fixed versions

3.5.2-2ubuntu0~16.04.10

Fix

  • Fixed version 3.5.2-2ubuntu0~16.04.10
    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.17-1~18.04ubuntu1 (ecosystem)

Fixed versions

2.7.17-1~18.04ubuntu1

Fix

  • Fixed version 2.7.17-1~18.04ubuntu1
    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.9-1~18.04ubuntu1 (ecosystem)

Fixed versions

3.6.9-1~18.04ubuntu1

Fix

  • Fixed version 3.6.9-1~18.04ubuntu1
    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 20.04

Affected

  • introduced 0, fixed 3.8.2-1ubuntu1.1 (ecosystem)

Fixed versions

3.8.2-1ubuntu1.1

Fix

  • Fixed version 3.8.2-1ubuntu1.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