CVE-2023-36632

EUVD-2023-40576
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 29%
Affected Products (NVD)
VendorProductVersion
pythonpython
𝑥
≤ 3.11.4
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python
bionic
ignored
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
ignored
xenial
ignored
python2.7
bionic
not-affected
focal
not-affected
jammy
not-affected
kinetic
not-affected
lunar
dne
trusty
not-affected
xenial
not-affected
python3.10
bionic
dne
focal
dne
jammy
not-affected
kinetic
not-affected
lunar
dne
trusty
dne
xenial
dne
python3.11
bionic
dne
focal
dne
jammy
not-affected
kinetic
not-affected
lunar
not-affected
trusty
dne
xenial
dne
python3.12
bionic
dne
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
dne
xenial
dne
python3.4
bionic
dne
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
not-affected
xenial
dne
python3.5
bionic
dne
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
not-affected
xenial
not-affected
python3.6
bionic
not-affected
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
dne
xenial
dne
python3.7
bionic
not-affected
focal
dne
jammy
dne
kinetic
dne
lunar
dne
trusty
dne
xenial
dne
python3.8
bionic
not-affected
focal
not-affected
jammy
dne
kinetic
dne
lunar
dne
trusty
dne
xenial
dne
python3.9
bionic
dne
focal
not-affected
jammy
dne
kinetic
dne
lunar
dne
trusty
dne
xenial
dne