Vulnerabilities (CVE)

Filtered by vendor Nim-lang Subscribe
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2022-23602 1 Nim-lang 2 Docutils, Nimforum 2022-02-04 5.5 MEDIUM 8.1 HIGH
Nimforum is a lightweight alternative to Discourse written in Nim. In versions prior to 2.2.0 any forum user can create a new thread/post with an include referencing a file local to the host operating system. Nimforum will render the file if able. This can also be done silently by using NimForum's post "preview" endpoint. Even if NimForum is running as a non-critical user, the forum.json secrets can be stolen. Version 2.2.0 of NimForum includes patches for this vulnerability. Users are advised to upgrade as soon as is possible. There are no known workarounds for this issue.
CVE-2021-29495 1 Nim-lang 1 Nim 2021-05-14 5.0 MEDIUM 7.5 HIGH
Nim is a statically typed compiled systems programming language. In Nim standard library before 1.4.2, httpClient SSL/TLS certificate verification was disabled by default. Users can upgrade to version 1.4.2 to receive a patch or, as a workaround, set "verifyMode = CVerifyPeer" as documented.
CVE-2021-21372 1 Nim-lang 1 Nim 2021-03-31 6.8 MEDIUM 8.8 HIGH
Nimble is a package manager for the Nim programming language. In Nim release version before versions 1.2.10 and 1.4.4, Nimble doCmd is used in different places and can be leveraged to execute arbitrary commands. An attacker can craft a malicious entry in the packages.json package list to trigger code execution.
CVE-2021-21374 1 Nim-lang 1 Nim 2021-03-30 6.8 MEDIUM 8.1 HIGH
Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.
CVE-2020-15694 1 Nim-lang 1 Nim 2021-02-08 5.0 MEDIUM 7.5 HIGH
In Nim 1.2.4, the standard library httpClient fails to properly validate the server response. For example, httpClient.get().contentLength() does not raise any error if a malicious server provides a negative Content-Length.