PYSEC-2022-27
Record from OSV · Published February 7, 2022
twisted is fixed in af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 and 22.1.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| twisted | PyPI | af8fe78542a6f2bf2235ccee8158d9c88d31e8e2, 22.1.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | twisted | 0, 11.1.0, 12.0.0 |
Timeline
- Feb 7, 2022 CVE Published
- Nov 8, 2023 CVE Updated
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln PYSEC-2022-27
vulnetix vdb fixes PYSEC-2022-27
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2022-27/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx advisory
- https://github.com/twisted/twisted/releases/tag/twisted-22.1.0 fix
- https://nvd.nist.gov/vuln/detail/CVE-2022-21712 advisory
- https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2 patch
- https://pypi.org/project/Twisted/ package