Access Restriction Bypass Affecting github.com/hashicorp/vault/builtin/logical/pki package, versions <1.8.9>=1.9.0 <1.9.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (37th 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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTBUILTINLOGICALPKI-2421222
  • published11 Mar 2022
  • disclosed11 Mar 2022
  • creditUnknown

Introduced: 11 Mar 2022

CVE-2022-25243  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/builtin/logical/pki to version 1.8.9, 1.9.4 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass which allows the PKI secrets engine under certain configurations to issue wildcard certificates to authorized users for a specified domain, even if the PKI role policy attribute allow_subdomains is set to false.

CVSS Base Scores

version 3.1