CVE-2022-23607

python-treq: treq is an HTTP library inspired by requests but written on top of Twisted's Agents

CVE-2022-23607 is fixed in python-treq on 1 platform, first by DEBIAN-CVE-2022-23607, released February 1, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0108
65th percentile

treq is an HTTP library inspired by requests but written on top of Twisted's Agents. Treq's request methods (`treq.get`, `treq.post`, etc.) and `treq.client.HTTPClient` constructor accept cookies as a dictionary. Such cookies are not bound to a single domain, and are therefore sent to *every* domain ("supercookies"). This can potentially cause sensitive information to leak upon an HTTP redirect to a different domain., e.g. should `https://example.com` redirect to `http://cloudstorageprovider.com` the latter will receive the cookie `session`. Treq 2021.1.0 and later bind cookies given to request methods (`treq.request`, `treq.get`, `HTTPClient.request`, `HTTPClient.get`, etc.) to the origin of the *url* parameter. Users are advised to upgrade. For users unable to upgrade Instead of passing a dictionary as the *cookies* argument, pass a `http.cookiejar.CookieJar` instance with properly domain- and scheme-scoped cookies in it.

Where it's fixed

ProductFixed inFixReleased
Linux
python-treq · Debian 12.15 (bookworm) 22.2.0-0.1 DEBIAN-CVE-2022-23607 Feb 1, 2022
python-treq · Debian 13.5 (trixie) 22.2.0-0.1 DEBIAN-CVE-2022-23607 Feb 1, 2022
python-treq · Debian 14 22.2.0-0.1 DEBIAN-CVE-2022-23607 Feb 1, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.