CVE-2023-2197 Vault Enterprise Vulnerable to Padding Oracle Attacks When Using a CBC-based Encryption Mechanism with a HSM

Low 2.5 Published Updated

Attackers with storage access can exploit a padding oracle in HSM-backed CBC encryption to derive the root key, compromising all secrets.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-2197?

CVE-2023-2197 is a low-severity vulnerability in Hashicorp Vault, published on 1 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

HashiCorp Vault Enterprise 1.13.0 up to 1.13.1 is vulnerable to a padding oracle attack when using an HSM in conjunction with the CKM_AES_CBC_PAD or CKM_AES_CBC encryption mechanisms. An attacker with privileges to modify storage and restart Vault may be able to intercept or modify cipher text in order to derive Vault’s root key. Fixed in 1.13.2

Weakness: CWE-326

Which versions are affected by CVE-2023-2197?

1 open source package ship an affected version, including vault. It affects 1 product.

PackageAffectedFixed in
vault BitnamiFrom 1.13.01.13.2

Products include Hashicorp Vault.

How do I fix CVE-2023-2197?

Upgrade vault to 1.13.2 or later.

Is CVE-2023-2197 being exploited?

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

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2023-2197, GHSA-33j2-92xf-fwm3.

Is CVE-2023-2197 in your software?

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

Check your SBOMs for free