Improper Certificate Validation Affecting github.com/hashicorp/vault/builtin/credential/cert package, versions <1.14.10>=1.15.0-rc1 <1.15.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (35th 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-6376666
  • published5 Mar 2024
  • disclosed4 Mar 2024
  • creditNathanial “d0nut” Lattimer

Introduced: 4 Mar 2024

CVE-2024-2048  (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.14.10, 1.15.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the verifyCredentials() function in path_login.go, when the application is configured with a non-CA certificate as trusted certificate. An attacker can forge a certificate to bypass authentication.

CVSS Base Scores

version 3.1