Uncaught Exception Affecting std/crypto/x509 package, versions <1.21.8>=1.22.0-0 <1.22.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDCRYPTOX509-14545632
  • published6 Jan 2026
  • disclosed5 Mar 2024
  • creditJohn Howard

Introduced: 5 Mar 2024

CVE-2024-24783  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade std/crypto/x509 to version 1.21.8, 1.22.1 or higher.

Overview

std/crypto/x509 is a Go standard library package std/crypto/x509

Affected versions of this package are vulnerable to Uncaught Exception.

Go Vulnerability Report:
Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic.This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.

CVSS Base Scores

version 4.0
version 3.1