Advisory

GO-2021-0223

Also known as: BIT-golang-2020-14039, CVE-2020-14039

Summary

Certificate verification error on Windows in crypto/x509

Details

On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose.

Severity

Not rated by the source.

Dates

Published
2022-02-17 17:46 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.13.13, introduced 1.14.0-0, fixed 1.14.5 (semver)

Fixed versions

1.13.13, 1.14.5

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