CVE-2022-21712
Cookie and header exposure in twisted
7.5
HIGH
CVSS 3.1
EPSS 1.4%
Description
twisted is an event-driven networking engine written in Python. In affected versions twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the `twited.web.RedirectAgent` and `twisted.web. BrowserLikeRedirectAgent` functions. Users are advised to upgrade. There are no known workarounds.
How to fix CVE-2022-21712
To remediate CVE-2022-21712, upgrade the affected package to a fixed version below.
- —upgrade to 20.3.0-7+deb11u1 or later
- —upgrade to 22.1.0 or later
- —upgrade to af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 or later
Is CVE-2022-21712 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 20.3.0-7+deb11u1
- >= 11.1.0, < 22.1.0
- from 0, < af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 | >= 11.1.0, < 22.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |