Advisory

UBUNTU-CVE-2019-9740

Also known as: CVE-2019-9740

Summary

The record has no summary.

Details

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. 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 query string after a ? character) followed by an HTTP header or a Redis command. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.

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-03-12 00:00 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