{"answers":{"affected":"3 open source packages ship an affected version, including future. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40899 exists.","fix":"Upgrade future to 0.18.3 or later.","what":"CVE-2022-40899 is a high-severity denial of service vulnerability in n/a, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40899 and fix it if it is affected.\n\nWhat it is: CVE-2022-40899 is a high-severity denial of service vulnerability in n/a, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40899 exists.\n\nAffected packages and fixed versions:\n- future (PyPI): affected all versions; fixed in 0.18.3\n- future (PyPI): affected all versions; fixed in 0.18.3\n- future (PyPI): affected all versions; fixed in 0.18.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-40899/ (Markdown: https://insights.sbomify.com/CVE-2022-40899/index.md)","id":"CVE-2022-40899","markdown":"https://insights.sbomify.com/CVE-2022-40899/index.md","name":"CVE-2022-40899","record":{"aliases":["DEBIAN-CVE-2022-40899","GHSA-v3c5-jqr6-7qm8","MGASA-2023-0030","OESA-2023-1176","PYSEC-2022-42991","ROOT-APP-PYPI-CVE-2022-40899","SUSE-SU-2023:0076-1","SUSE-SU-2023:0078-1","SUSE-SU-2023:0079-1","SUSE-SU-2023:0080-1","UBUNTU-CVE-2022-40899","USN-5833-1","openSUSE-SU-2024:12597-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Future library","requires_auth":"none","summary":"Remote attackers can cause denial of service in applications using the Python Future library by sending crafted Set-Cookie headers.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"python-future","vendor":"pythoncharmers"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Leap Micro 5.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Python Charmers Future denial of service vulnerability","id":"CVE-2022-40899","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":22,"n_references":5,"next":{"headline":"Auth bypass in n/a","id":"CVE-2022-40903"},"packages":[{"ecosystem":"PyPI","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"future","purl":null,"source":"GHSA-v3c5-jqr6-7qm8"},{"ecosystem":"PyPI","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"future","purl":"pkg:pypi/future","source":"GHSA-v3c5-jqr6-7qm8"},{"ecosystem":"PyPI","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"future","purl":"pkg:pypi/future","source":"PYSEC-2022-42991"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["0.15.2-3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2023:0078-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["0.15.2-3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:0080-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["0.15.2-3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/suse/python-future\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:0080-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.4.10-25.105.1"],"introduced":["0"],"last_affected":[],"package":"python3-base","purl":"pkg:rpm/suse/python3-base\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:0076-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/opensuse/python-future\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"openSUSE:Leap Micro 5.2","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/opensuse/python-future\u0026distro=openSUSE%20Leap%20Micro%205.2","source":"SUSE-SU-2023:0079-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["0.18.2-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-future","purl":"pkg:rpm/opensuse/python-future\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:0079-1"}],"prev":{"headline":"pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)","id":"CVE-2022-40898"},"products":["n/a"],"published":"2022-12-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["n/a"]},"summary":"Remote attackers can cause denial of service in applications using the Python Future library by sending crafted Set-Cookie headers.","url":"https://insights.sbomify.com/CVE-2022-40899/"}