CVE-2023-4680: hashicorp vault Reusing a Nonce, Key Pair in Encryption
Vulnerability summary
CVE-2023-4680 is a medium (CVSS 6.8) Reusing a Nonce, Key Pair in Encryption vulnerability in hashicorp vault. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 37.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 14-09-2023PublishedVulnerability first disclosed.
- 26-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVDNIST6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
0.00 pp
From 0.44% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-323Reusing a Nonce, Key Pair in EncryptionNonces should be used for the present occasion and only once.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Hashicorp2 products
- vault≥ 1.12.0, < 1.12.11 | ≥ 1.6.0, < 1.12.0 | ≥ 1.6.0, < 1.12.11 | ≥ 1.13.0, < 1.13.7 | ≥ 1.14.0, < 1.14.3
- vault enterprise≥ 1.14.0, < 1.14.3 | ≥ 1.13.0, < 1.13.7 | ≥ 1.12.0, < 1.12.11 | ≥ 1.6.0, < 1.12.0
Github.com/hashicorp1 product
- vault≥ 1.6.0, < 1.12.11 | ≥ 1.13.0, < 1.13.7 | ≥ 1.14.0, < 1.14.3
2 vendors · 3 products
References
4 links- github.com/hashicorp/vaultPACKAGE