ADVISORIES

Go Vulnerability Database

GO-2022-0434

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.

Affected packages

EcosystemPackageAffected versions
Gostdlib
From 1.18.0-0 before 1.18.1 (fixed in 1.18.1)

References