CVE-2022-40899
Pythoncharmers Python-future vulnerability
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.
Affected products
Python-future. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pythoncharmers Python-future runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ · Exploit
- github.com/PythonCharmers/python-future/pull/610 · Patch
- github.com/python/cpython/pull/17157 · Exploit
- github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py · Third Party Advisory
- pypi.org/project/future/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-40899
- github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f
- github.com/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yaml
- nvd.nist.gov/vuln/detail/CVE-2022-40899
- cve.org/CVERecord?id=CVE-2022-40899
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.