CVE-2022-40899Pythoncharmers Python-future
High 7.5 No auth needed
Follow: this CVE · Pythoncharmers · Pythoncharmers Python-future We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Dec 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Python-future.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | future |
< 0.18.3 |
0.18.3 |
pip install "future>=0.18.3" |
| PyPI | future |
< 0.18.3 |
0.18.3 |
pip install "future>=0.18.3" |
Per OSV / GitHub Advisories (GHSA-v3c5-jqr6-7qm8, PYSEC-2022-42991). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pythoncharmers | python-future | ≤ 0.18.2 |
Official advisories
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- pypi.org Product Third Party Advisory
- pyup.io Exploit Vendor Advisory