Information Exposure Affecting treq package, versions [,22.1.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.24% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-TREQ-2389178
  • published1 Feb 2022
  • disclosed1 Feb 2022
  • creditglyph, twm

Introduced: 1 Feb 2022

CVE-2022-23607  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade treq to version 22.1.0 or higher.

Overview

treq is a High-level Twisted HTTP Client API

Affected versions of this package are vulnerable to Information Exposure when Treq's request methods (treq.get, treq.post, HTTPClient.request, HTTPClient.get, etc.) 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.

CVSS Scores

version 3.1