Incorrect Privilege Assignment Affecting github.com/hashicorp/vault/command/agentproxyshared/cache package, versions <1.18.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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-GITHUBCOMHASHICORPVAULTCOMMANDAGENTPROXYSHAREDCACHE-8184980
  • published13 Oct 2024
  • disclosed11 Oct 2024
  • creditVault engineering team

Introduced: 11 Oct 2024

CVE-2024-9180  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/command/agentproxyshared/cache to version 1.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Privilege Assignment due to the mishandling of entries in an in-memory cache, a privileged operators could manipulate their cached record through an API endpoint on a node, potentially escalating their privileges to the highest level policy on this node.

Note:

This is only exploitable if the operator has write permissions to the root namespace's identity endpoint and does not affect entities in namespaces (including administrative namespaces).

CVSS Scores

version 4.0
version 3.1