PT-2019-20113 · Python · Http.Cookiejar

Published

2019-01-03

·

Updated

2019-01-03

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions http.cookiejar (affected versions not specified)
Description The issue concerns the handling of cookies by the http.cookiejar module, specifically when using the DefaultCookiePolicy. Cookies set for a path, such as path=/any, are sent to unintended locations, like example.com/anybad/, due to a lack of proper prefix matching. The code fails to check for a slash as the first non-matching character in the path, leading to potential security issues.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

PSF-2019-17

Affected Products

Http.Cookiejar