Vulnerability Details : CVE-2023-36632
Potential exploit
The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling a Python object" via a crafted argument. This argument is plausibly an untrusted value from an application's input data that was supposed to contain a name and an e-mail address. NOTE: email.utils.parseaddr is categorized as a Legacy API in the documentation of the Python email package. Applications should instead use the email.parser.BytesParser or email.parser.Parser class. NOTE: the vendor's perspective is that this is neither a vulnerability nor a bug. The email package is intended to have size limits and to throw an exception when limits are exceeded; they were exceeded by the example demonstration code.
Products affected by CVE-2023-36632
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
Threat overview for CVE-2023-36632
Top countries where our scanners detected CVE-2023-36632
Top open port discovered on systems with this issue
80
IPs affected by CVE-2023-36632 315,795
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2023-36632!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2023-36632
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 25 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-36632
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-36632
-
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-36632
-
https://docs.python.org/3/library/email.html
email — An email and MIME handling package — Python 3.11.4 documentationProduct
-
https://github.com/python/cpython/issues/103800
RecursionError in email.utils.parseaddr · Issue #103800 · python/cpython · GitHubExploit;Issue Tracking
-
https://github.com/Daybreak2019/PoC_python3.9_Vul/blob/main/RecursionError-email.utils.parseaddr.py
PoC_python3.9_Vul/RecursionError-email.utils.parseaddr.py at main · Daybreak2019/PoC_python3.9_Vul · GitHubProduct
-
https://docs.python.org/3/library/email.utils.html
email.utils: Miscellaneous utilities — Python 3.11.4 documentationProduct
Jump to