Improper Access Control Affecting github.com/hashicorp/vault/physical/raft package, versions >=1.4.0 <1.8.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (16th 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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTPHYSICALRAFT-1577143
  • published31 Aug 2021
  • disclosed30 Aug 2021
  • creditUnknown

Introduced: 30 Aug 2021

CVE-2021-38553  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/physical/raft to version 1.8.0 or higher.

Overview

github.com/hashicorp/vault/physical/raft is a tool for secrets management, encryption as a service, and privileged access management.

Affected versions of this package are vulnerable to Improper Access Control. During initialization of the Integrated Storage backend, Vault creates a database file on disk with potentially excessive filesystem permissions, though these vary depending on the operating system’s umask values. This vault.db file is written to the location configured by the path parameter in Vault’s Raft configuration. Only Vault clusters utilizing Integrated Storage are affected.

CVSS Base Scores

version 3.1