CVE catalog

CVE-2022-23607

python-treq: CVE-2022-23607

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpython-treqsid26.7.0-2fixed
Debianpython-treqforky26.7.0-2fixed
Debianpython-treqtrixie24.9.1-1fixed
Debianpython-treqbookworm22.2.0-0.1fixed
Opensusepython-treqtumbleweed22.1.0-1.1fixed
Opensusepython-treqtumbleweed24.9.1-1.4fixed
Susepython-treqpackage hub 15 sp320.3.0-bp153.2.3.1fixed
Opensusepython-treqleap 15.320.3.0-bp153.2.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-treqsourcesid22.2.0-0.1not yet assignedNot reported[1005041]
Debianpython-treqsourceforky22.2.0-0.1not yet assignedNot reported[1005041]
Debianpython-treqsourcetrixie22.2.0-0.1not yet assignedNot reported[1005041]
Debianpython-treqsourcebookworm22.2.0-0.1not yet assignedNot reported[1005041]
Opensusepython-treqrpmtumbleweed22.1.0-1.1Not reportedOPENSUSE-SU-2024:11806-1Not reported
Opensusepython-treqrpmtumbleweed24.9.1-1.4Not reportedOPENSUSE-SU-2025:15106-1Not reported
Susepython-treqrpmpackage hub 15 sp320.3.0-bp153.2.3.1Not reportedOPENSUSE-SU-2022:10098-1Not reported
Opensusepython-treqrpmleap 15.320.3.0-bp153.2.3.1Not reportedOPENSUSE-SU-2022:10098-1Not reported

[Debian bug #1005041]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-treq]

    Details (1)
    • 25.5.0-1.3 · noarch · tumbleweed

      Unknown · Fixed: 22.1.0-1.1, 24.9.1-1.4

      Version impact unknown

      dsa · python-treq · opensuse · tumbleweed

  • Source package: [python-treq]

    Details (1)
    • 25.5.0-1.3 · noarch · tumbleweed

      Unknown · Fixed: 22.1.0-1.1, 24.9.1-1.4

      Version impact unknown

      dsa · python-treq · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [python-treq]

    Details (2)
    • 22.2.0-0.1 · all · bookworm

      Fixed · Fixed: 22.2.0-0.1

      dsa · python-treq · debian · bookworm

    • 22.2.0-0.1 · all · bookworm

      Fixed · Fixed: 22.2.0-0.1

      dsa · python-treq · debian · bookworm

  • Source package: [python-treq]

    Details (2)
    • 22.2.0-0.1 · all · bookworm

      Fixed · Fixed: 22.2.0-0.1

      dsa · python-treq · debian · bookworm

    • 22.2.0-0.1 · all · bookworm

      Fixed · Fixed: 22.2.0-0.1

      dsa · python-treq · debian · bookworm

Observed:

References