PyPi: Twisted

CVE-2022-21712

Safety vulnerability ID: 44844

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 07, 2022 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Twisted 22.1 includes a fix for CVE-2022-21712: In affected versions, twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the 'twisted.web.RedirectAgent' and 'twisted.web. BrowserLikeRedirectAgent' functions. There are no known workarounds.
https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx

Affected package

twisted

Latest version: 24.3.0

An asynchronous networking framework written in Python

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2022-21712.


CONFIRM:https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx: https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx
MISC:https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2: https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2
MISC:https://github.com/twisted/twisted/releases/tag/twisted-22.1.0: https://github.com/twisted/twisted/releases/tag/twisted-22.1.0

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
NONE
Availability Impact (A)
NONE