High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-40899
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:14 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-40899
Complete source record
{
"id": "dfc51371bfa1c93aa7589c019f214b1d79606a67aa70b77e2435a97b454f9cce",
"url": "https://osv.dev/vulnerability/CVE-2022-40899",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-40899",
"summary": "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.",
"evidence": "osv:CVE-2022-40899",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-40899",
"aliases": [
"CVE-2022-40899",
"GHSA-v3c5-jqr6-7qm8",
"PYSEC-2022-42991"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pythoncharmers/python-future",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "01a1d313b0e17580f31e3d02a2225d7b6f471aff"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.18.2"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:pythoncharmers:python-future:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.18.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.1",
"v0.15.2",
"v0.15.1",
"v0.15.0",
"v0.14.3",
"v0.14.2",
"v0.14.1",
"v0.14.0",
"v0.13.1",
"v0.13.0",
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.11",
"v0.10.0",
"v0.10.1",
"v0.9.0",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.8.0-beta1",
"v0.7.0",
"v0.6.0",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.0",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.0",
"v0.3.0-rc2",
"v0.3.0-rc1",
"v0.2.2.1",
"v0.2.2",
"v0.2.1",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-40899.json"
}
}
],
"modified": "2026-10-28T02:30:39.943320565Z",
"provider": "osv",
"references": [
"https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215",
"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40899.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-40899",
"https://github.com/PythonCharmers/python-future/pull/610",
"https://github.com/python/cpython/pull/17157",
"https://pypi.org/project/future/"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40899.json"
}
},
"related_cves": [
{
"value": "CVE-2022-40899",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507503,
"published_at": "2022-12-22T00:00:00+00:00"
}