
CVE catalog
CVE-2022-23607
python-treq: CVE-2022-23607
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.08% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-treq | sid | 26.7.0-2 | fixed |
| Debian | python-treq | forky | 26.7.0-2 | fixed |
| Debian | python-treq | trixie | 24.9.1-1 | fixed |
| Debian | python-treq | bookworm | 22.2.0-0.1 | fixed |
| Opensuse | python-treq | tumbleweed | 22.1.0-1.1 | fixed |
| Opensuse | python-treq | tumbleweed | 24.9.1-1.4 | fixed |
| Suse | python-treq | package hub 15 sp3 | 20.3.0-bp153.2.3.1 | fixed |
| Opensuse | python-treq | leap 15.3 | 20.3.0-bp153.2.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-treq | source | sid | 22.2.0-0.1 | not yet assigned | Not reported | [1005041] |
| Debian | python-treq | source | forky | 22.2.0-0.1 | not yet assigned | Not reported | [1005041] |
| Debian | python-treq | source | trixie | 22.2.0-0.1 | not yet assigned | Not reported | [1005041] |
| Debian | python-treq | source | bookworm | 22.2.0-0.1 | not yet assigned | Not reported | [1005041] |
| Opensuse | python-treq | rpm | tumbleweed | 22.1.0-1.1 | Not reported | OPENSUSE-SU-2024:11806-1 | Not reported |
| Opensuse | python-treq | rpm | tumbleweed | 24.9.1-1.4 | Not reported | OPENSUSE-SU-2025:15106-1 | Not reported |
| Suse | python-treq | rpm | package hub 15 sp3 | 20.3.0-bp153.2.3.1 | Not reported | OPENSUSE-SU-2022:10098-1 | Not reported |
| Opensuse | python-treq | rpm | leap 15.3 | 20.3.0-bp153.2.3.1 | Not reported | OPENSUSE-SU-2022:10098-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-treq]Unknown
Source package: [python-treq]
Details (1)
25.5.0-1.3· noarch · tumbleweedUnknown · Fixed:
22.1.0-1.1, 24.9.1-1.4Version impact unknown
dsa · python-treq · opensuse · tumbleweed
- [python314-treq]Unknown
Source package: [python-treq]
Details (1)
25.5.0-1.3· noarch · tumbleweedUnknown · Fixed:
22.1.0-1.1, 24.9.1-1.4Version impact unknown
dsa · python-treq · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-treq]Fixed
Source package: [python-treq]
Details (2)
22.2.0-0.1· all · bookwormFixed · Fixed:
22.2.0-0.1dsa · python-treq · debian · bookworm
22.2.0-0.1· all · bookwormFixed · Fixed:
22.2.0-0.1dsa · python-treq · debian · bookworm
- [python-treq-doc]Fixed
Source package: [python-treq]
Details (2)
22.2.0-0.1· all · bookwormFixed · Fixed:
22.2.0-0.1dsa · python-treq · debian · bookworm
22.2.0-0.1· all · bookwormFixed · Fixed:
22.2.0-0.1dsa · python-treq · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2022_10098-1.json]
- [https://osv.dev/vulnerability/DLA-2954-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:10098-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11806-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15106-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-23607]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]