Nim is vulnerable to man-in-the-middle attack. The vulnerability exists when during ‘nimble refresh’, the system fetches a list of Nimble packages over HTTPS without verifying the SSL/TLS certificate, allowing an attacker to perform man-in-the-middle attack by delivering a modified malicious package instead.
consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/
github.com/nim-lang/Nim/pull/16940
github.com/nim-lang/nimble/blob/master/changelog.markdown#0130
github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx
security-tracker.debian.org/tracker/CVE-2021-21374