BIT-python-2025-15367: POP3 command injection in user-controlled commands
The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Reject user-controlled POP3 commands containing newlines or other control characters to prevent additional commands from being injected.