CVE-2017-1000097
HIGH 7.5CVSS 3.1Mishandled trust preferences for root certificates on Darwin in crypto/x509
On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate.
- Published
- 5 Oct 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GO-2022-0171
- Sources
- NVDJSONOSV GO-2022-0171JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.6.4 | 1.6.4 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.7, < 1.7.4 | 1.7.4 |
| OSV | Go | stdlib | < 1.6.4; >= 1.7.0-0, < 1.7.4 | 1.6.4, 1.7.4 |
References
- https://github.com/golang/go/issues/18141 · Issue Tracking, Third Party Advisory
- https://go-review.googlesource.com/c/33721/ · Broken Link
- https://groups.google.com/forum/#%21msg/golang-dev/4NdLzS8sls8/uIz8QlnIBQAJ
- https://go.googlesource.com/go/+/7e5b2e0ec144d5f5b2923a7d5db0b9143f79a35a · FIX
- https://go.dev/issue/18141 · REPORT
- https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Oct 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)