Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/vault
  4. ›
  5. CVE-2023-6337

CVE-2023-6337: Memory exhaustion in HashiCorp Vault

December 9, 2023 (updated February 13, 2025)

HashiCorp Vault and Vault Enterprise 1.12.0 and newer are vulnerable to a denial of service through memory exhaustion of the host when handling large unauthenticated and authenticated HTTP requests from a client. Vault will attempt to map the request to memory, resulting in the exhaustion of available memory on the host, which may cause Vault to crash.

Fixed in Vault 1.15.4, 1.14.8, 1.13.12.

References

  • discuss.hashicorp.com/t/hcsec-2023-34-vault-vulnerable-to-denial-of-service-through-memory-exhaustion-when-handling-large-http-requests/60741
  • github.com/advisories/GHSA-6p62-6cg9-f5f5
  • github.com/hashicorp/vault
  • github.com/hashicorp/vault/pull/24354
  • nvd.nist.gov/vuln/detail/CVE-2023-6337
  • security.netapp.com/advisory/ntap-20240112-0006

Code Behaviors & Features

Detect and mitigate CVE-2023-6337 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.12.0 before 1.13.12, all versions starting from 1.14.0 before 1.14.8, all versions starting from 1.15.0 before 1.15.4

Fixed versions

  • 1.15.4
  • 1.14.8
  • 1.13.12

Solution

Upgrade to versions 1.13.12, 1.14.8, 1.15.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/hashicorp/vault/CVE-2023-6337.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:39 +0000.