Description
In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nim | 1.2.6-1 | — |
| Debian 12 | nim | 1.2.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nim | No fix yet | — |
| Ubuntu 26.04 LTS | nim | No fix yet | — |
| Ubuntu 25.10 | nim | No fix yet | — |
| Ubuntu 24.04 LTS | nim | No fix yet | — |
| Ubuntu 20.04 LTS | nim | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nim | No fix yet | — |
| Ubuntu 16.04 LTS | nim | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | nim | 1.6.6-bp154.2.3.1 | openSUSE-SU-2022:10101-1 |
| SUSE Package Hub 15 SP3 | nim | 1.6.6-bp153.2.3.1 | openSUSE-SU-2022:10095-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nim | 1.6.6-3.1 | openSUSE-SU-2024:12253-1 |
| openSUSE Leap 15.4 | nim | 1.6.6-bp154.2.3.1 | openSUSE-SU-2022:10101-1 |
| openSUSE Leap 15.3 | nim | 1.6.6-bp153.2.3.1 | openSUSE-SU-2022:10095-1 |
Advisories 3
- openSUSE-SU-2022:10101-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10095-1 Security update for nim SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12253-1 nim-1.6.6-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/asyncftpclient.nim#L145
- 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/tintinweb/pub/tree/master/pocs/cve-2020-15690
- [oss-security] 20210204 [CVE-2020-15690] Nim - stdlib asyncftpd - Crlf Injection mailing-list