Description
The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Problem types
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Product status
Any version before 3.15.0a6
Credits
Omar M. Hasan
References
github.com/python/cpython/pull/143924
github.com/python/cpython/issues/143923
mail.python.org/.../thread/CBFBOWVGGUJFSGITQCCBZS4GEYYZ7ZNE/
github.com/...ommit/b234a2b67539f787e191d2ef19a7cbdce32874e7