CVE-2019-9636

Public on 2019-05-02
Modified on 2019-11-22
Description
It was discovered that python's functions urllib.parse.urlsplit and urllib.parse.urlparse do not properly handle URLs encoded with Punycode/Internationalizing Domain Names in Applications (IDNA), which may result in a wrong domain name (specifically the netloc component of URL - user@domain:port) being returned by those functions. When an application parses user-supplied URLs to store cookies, authentication credentials, or other kind of information, it is possible for an attacker to provide specially crafted URLs to make the application locate host-related information (e.g. cookies, authentication data) and send them to a different host than where it should, unlike if the URLs had been correctly parsed. The result of an attack may vary based on the application.
Severity
Important
CVSS v3 Base Score
9.8
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 python 2019-06-25 21:04 ALAS2-2019-1230
Amazon Linux 2 python3 2019-05-02 18:48 ALAS2-2019-1204
Amazon Linux 1 python34 2019-11-19 17:31 ALAS-2019-1324
Amazon Linux 1 python34 2019-05-02 17:31 ALAS-2019-1202
Amazon Linux 1 python36 2019-05-29 19:20 ALAS-2019-1204
Amazon Linux 1 python34 2019-11-19 17:31 ALAS-2019-1324
Amazon Linux 1 python34 2019-05-02 17:31 ALAS-2019-1202
Amazon Linux 1 python35 2019-07-17 23:51 ALAS-2019-1243
Amazon Linux 1 python27 2019-06-25 21:32 ALAS-2019-1230

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv2 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
NVD CVSSv3 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H