CVE-2022-40899
HIGH 7.5CVSS 3.1Python Charmers Future denial of service 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.
- Published
- 23 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-v3c5-jqr6-7qm8PYSEC-2022-42991
- Sources
- NVDJSONOSV GHSA-v3c5-jqr6-7qm8JSONOSV PYSEC-2022-42991JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pythoncharmers | python-futurecpe:2.3:a:pythoncharmers:python-future:*:*:*:*:*:python:*:* |
<= 0.18.2 | |
| OSV | PyPI | future | < 0.18.3 | 0.18.3 |
References
- https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215 · Third Party Advisory, WEB
- https://github.com/PythonCharmers/python-future/pull/610 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/python/cpython/pull/17157 · Exploit, Patch, Third Party Advisory, WEB, EVIDENCE, FIX
- https://pypi.org/project/future/ · Product, Third Party Advisory, WEB, PACKAGE
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ · Exploit, Vendor Advisory, WEB, EVIDENCE, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-40899 · ADVISORY
- https://github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f · WEB
- https://github.com/PythonCharmers/python-future · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yaml · WEB
- https://github.com/advisories/GHSA-v3c5-jqr6-7qm8 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2022)