In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15690
Reference (s):
- https://github.com/nim-lang/Nim/compare/v1.2.4 v1.2.6
- https://consensys.net/diligence/vulnerabilities/nim-asyncftpd-crlf-injection/
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/asyncftpclient.nim#L145
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2020-15690
- MLIST:[oss-security] 20210204 [CVE-2020-15690] Nim – stdlib asyncftpd – Crlf Injection

