{"api_version":"1","generated_at":"2026-04-22T22:50:37+00:00","cve":"CVE-2022-23607","urls":{"html":"https://cve.report/CVE-2022-23607","api":"https://cve.report/api/cve/CVE-2022-23607.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23607","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23607"},"summary":{"title":"CVE-2022-23607","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-02-01 11:15:00","updated_at":"2024-01-26 18:58:00"},"problem_types":["CWE-425"],"metrics":[],"references":[{"url":"https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc","name":"https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc","refsource":"CONFIRM","tags":[],"title":"Unsafe handling of user-specified cookies in treq · Advisory · twisted/treq · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html","name":"[debian-lts-announce] 20220318 [SECURITY] [DLA 2954-1] python-treq security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2954-1] python-treq security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23607","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23607","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23607","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23607","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"twistedmatrix","cpe5":"treq","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-23607","qid":"179134","title":"Debian Security Update for python-treq (DLA 2954-1)"},{"cve":"CVE-2022-23607","qid":"182598","title":"Debian Security Update for python-treq (CVE-2022-23607)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-23607","STATE":"PUBLIC","TITLE":"Unsafe handling of user-specified cookies in treq"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"treq","version":{"version_data":[{"version_value":"< 22.1.0"}]}}]},"vendor_name":"twisted"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc","refsource":"CONFIRM","url":"https://github.com/twisted/treq/security/advisories/GHSA-fhpf-pp6p-55qc"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220318 [SECURITY] [DLA 2954-1] python-treq security update","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00025.html"}]},"source":{"advisory":"GHSA-fhpf-pp6p-55qc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-02-01 11:15:00","lastModifiedDate":"2024-01-26 18:58:00","problem_types":["CWE-425"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:twistedmatrix:treq:*:*:*:*:*:*:*:*","versionStartIncluding":"21.1.0","versionEndExcluding":"22.1.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23607","Ordinal":"226477","Title":"CVE-2022-23607","CVE":"CVE-2022-23607","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23607","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"23607","Ordinal":"2","NoteData":"2022-02-01","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"23607","Ordinal":"3","NoteData":"2022-02-01","Type":"Other","Title":"Modified"}]}}}