ADVISORIES

Go Vulnerability Database

GO-2023-1709

Cache-timing attacks in Shamir's secret sharing in github.com/hashicorp/vault

Details

HashiCorp Vault's implementation of Shamir's secret sharing uses precomputed table lookups, and is vulnerable to cache-timing attacks.

An attacker with access to, and the ability to observe a large number of unseal operations on the host through a side channel may reduce the search space of a brute force effort to recover the Shamir shares.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/hashicorp/vault
All versions before 1.11.9 (fixed in 1.11.9)
From 1.12.0 before 1.12.5 (fixed in 1.12.5)
From 1.13.0 before 1.13.1 (fixed in 1.13.1)

References