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

Medium 6.8 Published Updated

Authorized users can decrypt arbitrary ciphertext and derive authentication subkeys in Vault's transit engine by specifying nonces without convergent encryption.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-4680?

CVE-2023-4680 is a medium-severity vulnerability in Hashicorp Vault, published on 14 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-20, CWE-323

Which versions are affected by CVE-2023-4680?

8 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/vault GoFrom 1.13.01.13.7
github.com/hashicorp/vault GoFrom 1.13.01.13.7
github.com/hashicorp/vault GoFrom 1.14.01.14.3
github.com/hashicorp/vault GoFrom 1.14.01.14.3
github.com/hashicorp/vault GoFrom 1.6.01.12.11, 1.13.7, 1.14.3
github.com/hashicorp/vault GoFrom 1.6.01.12.11
2 more packages
github.com/hashicorp/vault GoFrom 1.6.01.12.11
vault BitnamiFrom 1.6.01.12.11, 1.13.7, 1.14.3

Products include Hashicorp Vault.

How do I fix CVE-2023-4680?

Upgrade github.com/hashicorp/vault to a fixed version for your release line: 1.13.7, 1.14.3 or 1.12.11.

Is CVE-2023-4680 being exploited?

There is no known exploitation of CVE-2023-4680 in the wild and no public exploit code.

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2023-4680, GHSA-v84f-6r39-cpfc, GO-2023-2063.

Is CVE-2023-4680 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free