GO-2022-0171

    Dashboard / Vulnerabilities / GO-2022-0171

    GO-2022-0171

    Published: 24 May 2022Last Modified: 3 Jun 2024

    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.

    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
    GO-2022-0171 | CVE-DB