{"id":"CVE-2020-14039","aliases":["CVE-2020-14039","GO-2021-0223","BIT-GOLANG-2020-14039"],"related":[],"kind":"vulnerability","state":"published","title":"Certificate verification error on Windows in crypto/x509","summary":"In Go before 1.13.13 and 1.14.x before 1.14.5, Certificate.Verify may lack a check on the VerifyOptions.KeyUsages EKU requirements (if VerifyOptions.Roots equals nil and the installation is on Windows). Thus, X.509 certificate verification is incomplete.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Go before 1.13.13 and 1.14.x before 1.14.5, Certificate.Verify may lack a check on the VerifyOptions.KeyUsages EKU requirements (if VerifyOptions.Roots equals nil and the installation is on Windows). Thus, X.509 certificate verification is incomplete.","source":"cvelist"},{"lang":"en","text":"On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose.","format":"markdown","source":"go"},{"lang":"es","text":"En Go versiones anteriores a 1.13.13 y versiones 1.14.x anteriores a 1.14.5, Certificate.Verify puede carecer de una comprobación en los requisitos VerifyOptions.KeyUsages EKU (si VerifyOptions.Roots es igual a cero y la instalación está en Windows). Entonces, la verificación del certificado X.509 está incompleta","source":"nvd"}],"published":"2020-07-17T15:43:33.000Z","modified":"2026-09-08T08:47:46.811Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.13"},{"type":"semver","introduced":"1.14.0-0","status":"affected","fixed":"1.14.5"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.13.13"},{"status":"affected","introduced":"1.14.0","fixed":"1.14.5"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"},{"status":"affected","version":"15.2"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.13"},{"type":"semver","introduced":"1.14.0","status":"affected","fixed":"1.14.5"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/forum/#%21forum/golang-announce","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00077.html","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00082.html","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00029.html","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00030.html","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://groups.google.com/forum/#%21topic/golang-announce/XZNfaiwgt2w","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20200731-0005/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://go.dev/cl/242597","tags":["fix"],"sources":["go"]},{"url":"https://go.googlesource.com/go/+/82175e699a2e2cd83d3aa34949e9b922d66d52f5","tags":["fix"],"sources":["go"]},{"url":"https://go.dev/issue/39360","tags":["report"],"sources":["go"]},{"url":"https://groups.google.com/g/golang-announce/c/XZNfaiwgt2w","tags":["web"],"sources":["go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14039","tags":["web"],"sources":["bitnami"]}],"credits":["Niall Newman"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-14039","url":"https://www.cve.org/CVERecord?id=CVE-2020-14039","licence":"CVE Terms of Use","modified":"2024-08-04T12:32:14.665Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0223","url":"https://pkg.go.dev/vuln/GO-2021-0223","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-14039","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14039","licence":"Public domain","modified":"2026-06-17T02:54:08.570Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2020-14039","url":"https://osv.dev/vulnerability/BIT-GOLANG-2020-14039","licence":"Apache-2.0","modified":"2026-09-08T08:47:46.811Z"}],"updatedAt":"2026-11-25T22:57:53.535Z","epss":{"score":0.01692,"percentile":0.77787,"date":"2026-12-01T12:00:22.000Z"}}