—
PYSEC-2022-42991
Quick fix
PYSEC-2022-42991 — future: upgrade to the fixed version with the command below.
pip install --upgrade 'future>=0.18.3'Details
An issue discovered in Python Charmers Future 0.18.2 and earlier allows remote attackers to cause a denial of service via crafted Set-Cookie header from malicious web server.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://pypi.org/project/future/[PACKAGE]
- https://github.com/python/cpython/pull/17157[EVIDENCE]
- https://github.com/python/cpython/pull/17157[FIX]
- https://github.com/python/cpython/pull/17157[WEB]
- https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215[WEB]
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/[EVIDENCE]
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/[ADVISORY]
- https://github.com/PythonCharmers/python-future/pull/610[WEB]
- https://github.com/advisories/GHSA-v3c5-jqr6-7qm8[ADVISORY]