CVE-2022-21712: Cookie and header exposure in twisted

Published Feb 7, 2022
·
Updated

Impact

Cookie and Authorization headers are leaked when following cross-origin redirects in twited.web.client.RedirectAgent and twisted.web.client.BrowserLikeRedirectAgent.

Other sources

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.

Affected Software

6 affected componentsFixes available
pip/Twisted>=11.1.0<22.1.0
22.1.0
Twisted Twisted>=11.1.0<22.1.0
Debian Debian Linux=9.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
twistedmatrix Twisted>=11.1.0<22.1.0

Event History

Feb 7, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:36 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-21712?

CVE-2022-21712 is a vulnerability in the Twisted library where cookies and authorization headers are exposed when following cross-origin redirects.

2

What is the severity of CVE-2022-21712?

The severity of CVE-2022-21712 is high with a CVSS score of 7.5.

3

How does CVE-2022-21712 affect Twisted?

CVE-2022-21712 affects Twisted versions between 11.1.0 and 22.1.0.

4

How does CVE-2022-21712 impact Debian Linux?

CVE-2022-21712 impacts Debian Linux version 9.0.

5

How do I fix CVE-2022-21712?

To fix CVE-2022-21712, update Twisted to version 22.1.0 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203