Timing Attack Affecting github.com/hashicorp/vault/builtin/credential/userpass package, versions <1.20.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-GITHUBCOMHASHICORPVAULTBUILTINCREDENTIALUSERPASS-11426413
  • published3 Aug 2025
  • disclosed1 Aug 2025
  • creditYarden Porat

Introduced: 1 Aug 2025

NewCVE-2025-6011  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Timing Attack via pathLogin. An attacker can determine whether a username exists by measuring response times.

CVSS Base Scores

version 4.0
version 3.1