Improper Certificate Validation Affecting github.com/hashicorp/vault/builtin/credential/cert package, versions <1.20.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th 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-GITHUBCOMHASHICORPVAULTBUILTINCREDENTIALCERT-11426524
  • published3 Aug 2025
  • disclosed1 Aug 2025
  • creditYarden Porat

Introduced: 1 Aug 2025

NewCVE-2025-6037  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/builtin/credential/cert to version 1.20.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the verifyCredentials. An attacker can impersonate a trusted client by crafting a malicious certificate when a non-CA certificate is used as a trusted certificate.

CVSS Base Scores

version 4.0
version 3.1