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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14039
Reference (s):
- https://groups.google.com/forum/#!topic/golang-announce/XZNfaiwgt2w
- URL: https://groups.google.com/forum/#!topic/golang-announce/XZNfaiwgt2w
- https://security.netapp.com/advisory/ntap-20200731-0005/
- URL: https://security.netapp.com/advisory/ntap-20200731-0005/
- https://groups.google.com/forum/#!forum/golang-announce