CVE-2022-40899
JSON

7.5high

Python Charmers Future denial of service vulnerability

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.93% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-v3c5-jqr6-7qm8PYSEC-2022-42991

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
future (PyPI)before 0.18.3GitHub Advisory Database, PyPA Advisory Database
pythoncharmers python-futureup to 0.18.2NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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. This issue has been patched in version 0.18.3.

NVD (es)

Un problema descubierto en Python Charmers Future 0.18.2 y anteriores permite a atacantes remotos provocar una Denegación de Servicio (DoS) a través del encabezado Set-Cookie manipulado desde un servidor web malicioso.

References

https://pypi.org/project/future/package, product, third-party-advisory
https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215third-party-advisory, web
https://github.com/python/cpython/pull/17157evidence, exploit, fix, patch, third-party-advisory, web
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/advisory, evidence, exploit, vendor-advisory
https://github.com/PythonCharmers/python-future/pull/610issue-tracking, patch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-40899advisory
https://github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76fweb
https://github.com/PythonCharmers/python-futurepackage
https://github.com/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yamlweb
https://pypi.org/project/futureweb
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packagesweb
https://github.com/advisories/GHSA-v3c5-jqr6-7qm8advisory

Sources

SourceRecordLicence
CVE ListCVE-2022-40899 changed 2025-04-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-v3c5-jqr6-7qm8 changed 2025-04-15CC-BY-4.0
NVDCVE-2022-40899 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-42991 changed 2026-06-10CC-BY-4.0