Advisory

GO-2022-0434

Also known as: BIT-golang-2022-27536, CVE-2022-27536

Summary

Panic during certificate parsing on Darwin in crypto/x509

Details

Verifying certificate chains containing certificates which are not compliant with RFC 5280 causes Certificate.Verify to panic on macOS.

These chains can be delivered through TLS and can cause a crypto/tls or net/http client to crash.

Severity

Not rated by the source.

Dates

Published
2022-05-23 21:59 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 1.18.0-0, fixed 1.18.1 (semver)

Fixed versions

1.18.1

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