Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:19903
HistoryMay 16, 2019 - 3:38 a.m.

Information Disclosure

2019-05-1603:38:57
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
20

EPSS

0.01

Percentile

83.9%

Python is vulnerable to information disclosure vulnerability. This is because, the 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. An attacker could incorrectly parse a specially crafted URL to locate cookies or authentication data and send that information to a different host than when parsed correctly resulting a disclosure of information.

References