{"id":"UBUNTU-CVE-2022-40899","details":"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.","modified":"2026-02-04T04:14:18.751245Z","published":"2022-12-23T00:15:00Z","related":["USN-5833-1"],"upstream":["CVE-2022-40899"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40899"},{"type":"REPORT","url":"https://pypi.org/project/future/"},{"type":"REPORT","url":"https://github.com/python/cpython/pull/17157"},{"type":"REPORT","url":"https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215"},{"type":"REPORT","url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/"},{"type":"REPORT","url":"https://github.com/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5833-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-40899"}],"affected":[{"package":{"name":"python-future","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-future@0.15.2-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.2-1ubuntu0.1~esm1"}]}],"versions":["0.14.3-1","0.14.3-1build1","0.15.2-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python-future","binary_version":"0.15.2-1ubuntu0.1~esm1"},{"binary_name":"python3-future","binary_version":"0.15.2-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40899.json"}},{"package":{"name":"python-future","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-future@0.15.2-4ubuntu2.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.2-4ubuntu2.1"}]}],"versions":["0.15.2-4ubuntu1","0.15.2-4ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-future","binary_version":"0.15.2-4ubuntu2.1"},{"binary_name":"python3-future","binary_version":"0.15.2-4ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40899.json"}},{"package":{"name":"python-future","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-future@0.18.2-2ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2-2ubuntu0.1"}]}],"versions":["0.16.0-1","0.18.2-0ubuntu1","0.18.2-1","0.18.2-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-future","binary_version":"0.18.2-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40899.json"}},{"package":{"name":"python-future","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-future@0.18.2-5ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2-5ubuntu0.1"}]}],"versions":["0.18.2-5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-future","binary_version":"0.18.2-5ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40899.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}