Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. future
  4. ›
  5. CVE-2022-40899

CVE-2022-40899: Python Charmers Future denial of service vulnerability

December 23, 2022 (updated April 15, 2025)

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.

References

  • github.com/PythonCharmers/python-future
  • github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py
  • github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f
  • github.com/PythonCharmers/python-future/pull/610
  • github.com/advisories/GHSA-v3c5-jqr6-7qm8
  • github.com/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yaml
  • github.com/python/cpython/pull/17157
  • nvd.nist.gov/vuln/detail/CVE-2022-40899
  • pypi.org/project/future
  • pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages

Code Behaviors & Features

Detect and mitigate CVE-2022-40899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.18.3

Fixed versions

  • 0.18.3

Solution

Upgrade to version 0.18.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/future/CVE-2022-40899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.