Improper Certificate Validation Affecting std/crypto/x509 package, versions <1.6.4>=1.7.0-0 <1.7.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.44% (73rd 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-14545539
  • published6 Jan 2026
  • disclosed24 May 2022
  • creditXy Ziemba

Introduced: 24 May 2022

CVE-2017-1000097  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade std/crypto/x509 to version 1.6.4, 1.7.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Improper Certificate Validation.

Go Vulnerability Report:
On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate.

CVSS Base Scores

version 4.0
version 3.1