CVE-2021-21374 Nimble fails to validate certificates due to insecure httpClient defaults
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
nim-lang
security
영향 받는 버전
- 1.2.10 미만
- 1.4.0 이상 1.4.4 미만
해결 버전
- 1.2.10 이상
- 1.4.4 이상
참고 자료 4건
- consensys.net https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/ (새 창)
- github.com https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130 (새 창)
- github.com https://github.com/nim-lang/Nim/pull/16940 (새 창)
- github.com https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxx (새 창)