Approved changes feed: RSS · Atom

cpe:2.3:a:twistedmatrix:treq:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorTwistedmatrix (2f3c0743-7307-5a82-a7cd-9f01143da882)
ProductTreq (95ba924e-51b2-5f9b-8a1d-94d504456736)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/python-treq purl2cpe 2026-06-01 10:17:30.284556
pkg:deb/ubuntu/python-treq purl2cpe 2026-06-01 10:17:30.284558
pkg:github/twisted/treq purl2cpe 2026-06-01 10:17:30.284560
pkg:pypi/treq purl2cpe 2026-06-01 10:17:30.284562
pkg:rpm/fedora/python-treq purl2cpe 2026-06-01 10:17:30.284564
pkg:rpm/opensuse/python-treq purl2cpe 2026-06-01 10:17:30.284565

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-23607 vulnerable 2026-06-08 05:40:58.018116 Unsafe handling of user-specified cookies in treq
MEDIUM (6.5)
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.
Published: 2022-02-01T11:01:07.000Z
Updated: 2024-08-03T03:43:46.835Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.