CVE-2024-8185: Vault Community and Vault Enterprise (“Vault”) clusters using Vault’s Integrated Storage backend are vulnerable to a denial-of-service (DoS) attack through memory exhaustion through a Raft cluster...

High CVSS 7.5

CVE id
CVE-2024-8185
Published
Last modified

Affected packages

PackageAffected versionsFixed in
HashiCorp Vault
Runtimes and servers
>= 1.2.0, < 1.18.1 1.18.1
HashiCorp Vault Enterprise
Runtimes and servers
>= 1.2.0, < 1.16.12
>= 1.2.0, < 1.18.1
>= 1.17.0, < 1.17.8
1.16.12, 1.17.8, 1.18.1

How to fix it

HashiCorp Vault (Runtimes and servers)

Upgrade HashiCorp Vault to 1.18.1 or later.

vault version
  • Upgrade Vault (the hashicorp/vault image or binary) to the patched release.

HashiCorp Vault Enterprise (Runtimes and servers)

Upgrade HashiCorp Vault Enterprise to the fixed release of the line you run: 1.16.12, 1.17.8, 1.18.1.

vault version
  • Upgrade Vault Enterprise (the hashicorp/vault-enterprise image or binary) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

Vault Community and Vault Enterprise (“Vault”) clusters using Vault’s Integrated Storage backend are vulnerable to a denial-of-service (DoS) attack through memory exhaustion through a Raft cluster join API endpoint . An attacker may send a large volume of requests to the endpoint which may cause Vault to consume excessive system memory resources, potentially leading to a crash of the underlying system and the Vault process itself.

This vulnerability, CVE-2024-8185, is fixed in Vault Community 1.18.1 and Vault Enterprise 1.18.1, 1.17.8, and 1.16.12.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.