{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-23607","published":"2022-02-01T11:15:11.557000Z","last_modified":"2026-06-17T04:30:28.133000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-200","CWE-425"],"cpes":[{"criteria":"cpe:2.3:a:twistedmatrix:treq:*:*:*:*:*:*:*:*","part":"a","vendor":"twistedmatrix","product":"treq","version_start_including":"21.1.0","version_end_excluding":"22.1.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["twistedmatrix","debian"],"products":["twistedmatrix/treq","debian/debian_linux"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fhpf-pp6p-55qc","ecosystem":"PyPI","name":"treq","purl":"pkg:pypi/treq","ranges":[{"introduced":"0","fixed":"22.1.0"}],"versions":["0.1.0","0.2.0","0.2.1","15.0.0","15.1.0","16.12.0","17.3.0","17.3.1","17.7.0","17.8.0","18.6.0","20.3.0","20.3.0rc1","20.4.1","20.9.0","20.9.0rc1","21.1.0","21.5.0"],"versions_truncated":false},{"advisory":"PYSEC-2022-26","ecosystem":"PyPI","name":"treq","purl":"pkg:pypi/treq","ranges":[{"introduced":"21.1.0","fixed":"22.1.0"}],"versions":["21.1.0","21.5.0"],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2022-23607/","html_en":"/en/cve/CVE-2022-23607/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23607","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23607"},"untrusted":{"vendor_name":"Twistedmatrix","product_name":"Treq","desc_en":"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.","affected":[{"untrusted_vendor":"twisted","untrusted_product":"treq"}],"references":[{"url":"https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc","tags":["Mitigation","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html","tags":["Mailing List","Third Party Advisory"]}]}}