CVE-2022-40899 json
Python Charmers Future denial of service vulnerability
published 2022-12-22 3 y ago modified 2026-06-17 4 mo ago also GHSA-v3c5-jqr6-7qm8 , PYSEC-2022-42991 , EUVD-2022-0109
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi future 0.18.3
- python-future Ubuntu 18.04 LTS 0.15.2-4ubuntu2.1
- python-future Ubuntu 20.04 LTS 0.18.2-2ubuntu0.1
- python-future Ubuntu 22.04 LTS 0.18.2-5ubuntu0.1
- python-future Ubuntu Pro 16.04 LTS 0.15.2-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-40899
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.9-1.el8sat
- foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.9-1.el8sat
- foreman-ec2 satellite 6.14 3.7.0.9-1.el8sat
- rubygem-git satellite 6.14 1.18.0-1.el8sat
- puppet-agent satellite capsule 6.14, satellite 6.14 7.26.0-3.el8sat
- puppetserver satellite capsule 6.14, satellite 6.14 7.11.0-1.el8sat
- rubygem-rack satellite capsule 6.14, satellite 6.14 2.2.7-1.el8sat
- foreman-ovirt satellite 6.14 3.7.0.9-1.el8sat
red hat advisories RHSA-2023:6818RHSA-2023:2101RHSA-2023:4466
- python3 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +7 more 3.4.10-25.108.1
- python3-base SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +7 more 3.4.10-25.108.1
- python-future SLES for SAP 12 SP5, SLES 12 SP5 0.15.2-3.5.1
- python-future SLE Real Time 15 SP3, SLE Module for Basesystem 15 SP4, SLE Micro 5.3 +5 more 0.18.2-150300.3.3.1
- python-future SLE Module for Public Cloud 12 0.15.2-3.3.1
- python3 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 3.4.10-25.105.1
- python3-base SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 3.4.10-25.105.1
suse advisories SUSE-SU-2023:0663-1SUSE-SU-2023:0080-1SUSE-SU-2023:0079-1SUSE-SU-2023:0078-1SUSE-SU-2023:0076-1
- github.com/PythonCharmers/python-future@c91d70b commit
- github.com/python/cpython#17157 pull request
- github.com/PythonCharmers/python-future#610 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-40899 updated cvss 7.5
python-future: remote attackers can cause denial of service via crafted Set-Cookie header from malicious web server
-
Red Hat CloudForms Management Engine 5 python-future, python2-future, python3-futureaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 python2-futuresaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 python-futuresaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 futureaffected: no fix available
-
Red Hat OpenStack Platform 13 (Queens) python2-future, python2-futuresaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 16.1 python3-futureaffected: no fix planned “Will not fix”
-
Red Hat Satellite 6 future, python2-future, tfm-pulpcore-python-futureaffected: no fix available
-
Red Hat Satellite 6.13 for RHEL 8 python-future 0.18.3-1.el8pc, python39-future 0.18.3-1.el8pcfixed: vendor fix RHSA-2023:4466
show 3 moreshow fewer
-
Red Hat Satellite 6.14 for RHEL 8 python-future 0.18.3-1.el8pc, python39-future 0.18.3-1.el8pcfixed: vendor fix RHSA-2023:6818
-
Red Hat RHUI 4 for RHEL 8 python-future 0.18.3-1.0.1.el8ui, python39-future 0.18.3-1.0.1.el8uifixed: vendor fix RHSA-2023:2101
-
Red Hat Ansible Automation Platform 2 python-future Red Hat OpenStack Platform 16.2 python3-future Red Hat OpenStack Platform 17.0 python3-future Red Hat Satellite 6.13 for RHEL 8 foreman 3.5.1.19-1.el8sat, satellite 6.13.3-1.el8sat, foreman-cli 3.5.1.19-1.el8sat, foreman-ec2 3.5.1.19-1.el8sat, satellite-cli 6.13.3-1.el8sat, python-pulpcore 3.21.9-1.el8pc, +20 more Red Hat Satellite 6.14 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.9.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, candlepin 4.3.1-1.el8sat, +667 more Red Hat RHUI 4 for RHEL 8 rhui-tools 4.4.0.5-1.el8ui, rhui-installer 4.4.0.5-1.el8ui, rhui-tools-libs 4.4.0.5-1.el8ui, python-django 3.2.18-1.0.1.el8ui, python39-django 3.2.18-1.0.1.el8uinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/python/cpython/pull/17157 referenced PoC, tagged "exploit" by a source, unverified
- pyup.io https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | future | <0.18.3 |
0.18.3 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/python/cpython/pull/17157
web, exploit, patch, third-party-advisory, evidence
-
github.com
/PythonCharmers/python-future/pull/610
web, issue-tracking, patch, third-party-advisory
-
github.com
/PythonCharmers/python-future/commit/c91d70b34ef0402aef3e9d04364ba98509dca76f
web
-
pyup.io
/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
exploit, vendor-advisory, evidence, advisory
-
pypi.org
/project/future/
product, third-party-advisory, package
-
github.com
/PythonCharmers/python-future/blob/master/src/future/backports/http/cookiejar.py#L215
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-40899
advisory
-
github.com
/PythonCharmers/python-future
package
-
github.com
/pypa/advisory-database/tree/main/vulns/future/PYSEC-2022-42991.yaml
web
-
pypi.org
/project/future
web
-
pyup.io
/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
web
-
github.com
/advisories/GHSA-v3c5-jqr6-7qm8
advisory
Sources
- CVE List CVE-2022-40899
- GitHub Advisory GHSA-v3c5-jqr6-7qm8
- NVD CVE-2022-40899
- OSV PYSEC-2022-42991
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.