Vulnerabilities (CVE)

Filtered by vendor Nim-lang Subscribe
Filtered by product Nim
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2021-41259 1 Nim-lang 1 Nim 2021-11-17 7.5 HIGH 9.8 CRITICAL
Nim is a systems programming language with a focus on efficiency, expressiveness, and elegance. In affected versions the uri.parseUri function which may be used to validate URIs accepts null bytes in the input URI. This behavior could be used to bypass URI validation. For example: parseUri("http://localhost\0hello").hostname is set to "localhost\0hello". Additionally, httpclient.getContent accepts null bytes in the input URL and ignores any data after the first null byte. Example: getContent("http://localhost\0hello") makes a request to localhost:80. An attacker can use a null bytes to bypass the check and mount a SSRF attack.
CVE-2020-15690 1 Nim-lang 1 Nim 2021-02-09 7.5 HIGH 9.8 CRITICAL
In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
CVE-2020-15692 1 Nim-lang 1 Nim 2021-02-08 10.0 HIGH 9.8 CRITICAL
In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser. This argument can be a local file path that will be opened in the default explorer. An attacker can pass one argument to the underlying open command to execute arbitrary registered system commands.