GO-2022-0171
Dashboard / Vulnerabilities / GO-2022-0171
Summary: Mishandled trust preferences for root certificates on Darwin in crypto/x509
Details: 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.
References: https://go.googlesource.com/go/+/7e5b2e0ec144d5f5b2923a7d5db0b9143f79a35a, https://go.dev/issue/18141, https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.6.4
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
