{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21374","published":"2021-03-26T22:15:12.867000Z","last_modified":"2026-06-17T03:35:25.067000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-348","CWE-349","CWE-599","CWE-295"],"cpes":[{"criteria":"cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*","part":"a","vendor":"nim-lang","product":"nim","version_end_excluding":"1.2.10"},{"criteria":"cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*","part":"a","vendor":"nim-lang","product":"nim","version_start_including":"1.4.0","version_end_excluding":"1.4.4"}],"cpes_truncated":false,"vendors":["nim-lang"],"products":["nim-lang/nim"],"epss":{"score":0.0104,"percentile":0.64923,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2021-21374/","html_en":"/en/cve/CVE-2021-21374/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21374","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21374"},"untrusted":{"vendor_name":"Nim-lang","product_name":"Nim","desc_en":"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.","affected":[{"untrusted_vendor":"nim-lang","untrusted_product":"security","versions":[]}],"references":[{"url":"https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/nim-lang/Nim/pull/16940","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx","tags":["Third Party Advisory"]}]}}