CVE-2022-23607 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc | CVE | MitigationThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html | CVE | Mailing ListThird Party Advisory |
| https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc | [email protected] | MitigationThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-425 | Direct Request ('Forced Browsing') | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| twistedmatrix treq | >= 21.1.0, < 22.1.0 |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 26, 2024 | Reanalysis | [email protected] |
| May 1, 2022 | Modified Analysis | [email protected] |
| Mar 18, 2022 | CVE Modified | [email protected] |
| Feb 8, 2022 | Initial Analysis | [email protected] |
| Feb 1, 2022 | CVE Modified | [email protected] |