CVE-2022-21712

NameCVE-2022-21712
Descriptiontwisted 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2927-1, ELA-566-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
twisted (PTS)jessie, jessie (lts)14.0.2-3+deb8u6fixed
stretch (security)16.6.0-2+deb9u3fixed
stretch (lts), stretch16.6.0-2+deb9u4fixed
buster (security), buster, buster (lts)18.9.0-3+deb10u2fixed
bullseye20.3.0-7+deb11u1fixed
bookworm22.4.0-4fixed
bookworm (security)22.4.0-4+deb12u1fixed
trixie24.7.0-3fixed
sid24.10.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
twistedsourcejessie14.0.2-3+deb8u3ELA-566-1
twistedsourcestretch16.6.0-2+deb9u1DLA-2927-1
twistedsourcebuster18.9.0-3+deb10u1
twistedsourcebullseye20.3.0-7+deb11u1
twistedsource(unstable)22.1.0-1

Notes

https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx
https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 (twisted-22.1.0rc1)

Search for package or bug name: Reporting problems