Alpine: multiple py3-treq packages: security update to 22.1.0-r0

high Tenable Cloud Security Plugin ID 439107

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-23607)

Solution

Update the py3-treq library and its related packages to version 22.1.0-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2022-23607

Plugin Details

Severity: High

ID: 439107

Version: Revision 1.4

Type: Local

Published: 3/23/2026

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2022-23607

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.1

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2022-23607