Skip to content
Fencer Vulns
high 7.5

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

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-future
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 python2-futures
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.11 python-futures
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 future
    affected: no fix available
  • Red Hat OpenStack Platform 13 (Queens) python2-future, python2-futures
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 16.1 python3-future
    affected: no fix planned “Will not fix”
  • Red Hat Satellite 6 future, python2-future, tfm-pulpcore-python-future
    affected: no fix available
  • Red Hat Satellite 6.13 for RHEL 8 python-future 0.18.3-1.el8pc, python39-future 0.18.3-1.el8pc
    fixed: vendor fix RHSA-2023:4466
show 3 more
  • Red Hat Satellite 6.14 for RHEL 8 python-future 0.18.3-1.el8pc, python39-future 0.18.3-1.el8pc
    fixed: 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.el8ui
    fixed: 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.el8ui
    not 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

Sources

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.