The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Attack Parameters
Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed
Impact Assessment
Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products
python software foundation:cpython
References 4
https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b…
cna@python.org
https://github.com/python/cpython/issues/143921
cna@python.org
https://github.com/python/cpython/pull/143922
cna@python.org
https://mail.python.org/archives/list/security-announce@python.org/thread/DD7C7…
cna@python.org