Lucene search

K
redhatcveRedhat.comRH:CVE-2019-9636
HistoryMar 20, 2021 - 11:54 p.m.

CVE-2019-9636

2021-03-2023:54:20
redhat.com
access.redhat.com
29
python
urllib
parse
punycode
idna
urls
attack
host manipulation
security vulnerability

EPSS

0.01

Percentile

83.9%

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.