
Cloud Vulnerability DB
A community-led vulnerabilities database
A denial of service vulnerability (CVE-2022-40899) was discovered in Python Charmers Future version 0.18.2 and earlier. The vulnerability was identified in the HTTP cookie parsing functionality, specifically allowing remote attackers to cause a denial of service via crafted Set-Cookie headers from malicious web servers. The issue was disclosed in December 2022 (NVD).
The vulnerability exists in the LOOSEHTTPDATE_RE regex pattern within http.cookiejar.CookieJar, which is used to parse Set-Cookie headers returned by servers. The regex contained multiple overlapping \s* capture groups that could trigger catastrophic backtracking when processing malicious input. When processing a response from a malicious HTTP server, this could lead to extreme CPU usage and execution being blocked for an extended period (PyUp, GitHub PR).
When exploited, this vulnerability can cause denial of service conditions in applications using the affected versions of the Future package. The issue affects any Python application that processes HTTP cookies using this library when interacting with malicious web servers (NVD).
The vulnerability was fixed in Future version 0.18.3, released in January 2023. Users are advised to upgrade to this or later versions to address the security issue (GitHub PR).
The vulnerability was initially reported to Future maintainers in September 2022. There were concerns about the project's maintenance status as it had shown limited activity, with the last commit being made in November 2021 and a significant number of open issues. The fix was eventually merged and released after community attention (PyUp).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."