{"id":"UBUNTU-CVE-2021-29495","details":"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.","modified":"2025-10-24T04:50:16Z","published":"2021-05-07T16:15:00Z","upstream":["CVE-2021-29495"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-29495"},{"type":"REPORT","url":"https://github.com/nim-lang/security/security/advisories/GHSA-9vqv-2jj9-7mqr"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-29495"}],"affected":[{"package":{"name":"nim","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nim@0.12.0-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2+dfsg1-4","0.12.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12.0-2","binary_name":"nim"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29495.json"}},{"package":{"name":"nim","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nim@0.17.2-1ubuntu2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.2-1ubuntu1","0.17.2-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"nim","binary_version":"0.17.2-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29495.json"}},{"package":{"name":"nim","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nim@1.0.6-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.2-1","1.0.2-1","1.0.3~rc-1","1.0.4-1","1.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nim","binary_version":"1.0.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29495.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}