Improper Release of Memory Before Removing Last Reference ('Memory Leak') Affecting github.com/hashicorp/vault package, versions >=1.13.7 <1.13.10>=1.14.3 <1.14.6>=1.15.0 <1.15.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.64% (69th 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 Release of Memory Before Removing Last Reference ('Memory Leak') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULT-6054546
  • published10 Nov 2023
  • disclosed9 Nov 2023
  • creditUnknown

Introduced: 9 Nov 2023

CVE-2023-5954  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault to version 1.13.10, 1.14.6, 1.15.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Release of Memory Before Removing Last Reference ('Memory Leak') when a policy check is triggered by inbound client requests, leading to an unbounded consumption of memory. An attacker can cause a denial-of-service by sending a large number of these requests.

References

CVSS Base Scores

version 3.1