{"id":"GO-2022-0229","revision":"c55717d1f45a405f8a44afc7baaacf1f","records":[{"revision":"c55717d1f45a405f8a44afc7baaacf1f","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0229","aliases":["BIT-golang-2020-7919","CVE-2020-7919","GHSA-cjjc-xp8v-855w"],"title":"Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobyte","description":"On 32-bit architectures, a malformed input to crypto/x509 or the ASN.1 parsing functions of golang.org/x/crypto/cryptobyte can lead to a panic.\n\nThe malformed certificate can be delivered via a crypto/tls connection to a client, or to a server that accepts client certificates. net/http clients can be made to crash by an HTTPS server, while net/http servers that accept client certificates will recover the panic and are unaffected.","state":0,"publishedAt":"2022-07-06T18:23:48+00:00","modifiedAt":"2026-02-04T04:21:33.144646+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.12.16"},{"kind":"introduced","version":"1.13.0-0"},{"kind":"fixed","version":"1.13.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"golang.org/x/crypto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20200124225646-8b5121be2f68"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/216680","https://go.googlesource.com/go/+/b13ce14c4a6aa59b7b041ad2b6eed2d23e15b574","https://go.dev/cl/216677","https://go.dev/issue/36837","https://groups.google.com/g/golang-announce/c/Hsw4mHYc470"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0229","license":"OSV · upstream source license applies","key":"osv:GO-2022-0229","identifiers":["GO-2022-0229","BIT-golang-2020-7919","CVE-2020-7919","GHSA-cjjc-xp8v-855w"]},"retained":false,"historicalAffected":[]}],"coverage":[]}