Advisory

GO-2022-0171

Also known as: CVE-2017-1000097

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.

Severity

Not rated by the source.

Dates

Published
2022-05-24 20:17 UTC
Modified
2024-06-03 20:51 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.6.4, introduced 1.7.0-0, fixed 1.7.4 (semver)

Fixed versions

1.6.4, 1.7.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences