{"id":"CVE-2021-29495","published":"2021-05-07T15:15:10Z","modified":"2024-08-03T22:11:05Z","title":"Nim stdlib httpClient does not validate peer certificates by default","vendor":"nim-lang","product":"security","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00491,"percentile":0.43112,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/nim-lang/security/security/advisories/GHSA-9vqv-2jj9-7mqr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.62},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nim-lang","affectedVersions":[{"vendor":"nim-lang","product":"security","versions":["< 1.4.2"]}],"euvd":{"id":"EUVD-2021-16092","exploited":false,"provenance":"source"}}