{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21373","published":"2021-03-26T22:15:12.773000Z","last_modified":"2026-06-17T03:35:24.930000Z","status":"Modified","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-348","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.01155,"percentile":0.67919,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2021-21373/","html_en":"/en/cve/CVE-2021-21373/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21373","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21373"},"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 by default. In case of error it falls back to a non-TLS URL http://irclogs.nim-lang.org/packages.json. 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/nimble/blob/master/changelog.markdown#0130","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/nim-lang/security/security/advisories/GHSA-8w52-r35x-rgp8","tags":["Third Party Advisory"]}]}}