CVE-2020-15690
What it is
In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.2% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.2% · EPSS, next 30 days
- Weakness
- CWE-74
- Record status
- Modified
Affected
- nim-lang Nim < 1.2.6
Attack profile CVSS 3.1 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-15690.md and follow it. Check whether this project is affected by CVE-2020-15690. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/nim-lang/Nim/compare/v1.2.4...v1.2.6
- https://github.com/nim-lang/Nim/compare/v1.2.4...v1.2.6
References
- http://www.openwall.com/lists/oss-security/2021/02/04/3
- 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/nim-lang/Nim/compare/v1.2.4...v1.2.6
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2020-15690
- http://www.openwall.com/lists/oss-security/2021/02/04/3
- 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/nim-lang/Nim/compare/v1.2.4...v1.2.6
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2020-15690