CVE-2023-0690 Boundary Workers Store Rotated Credentials in Plaintext Even When a Key Management Service Configured

Medium 5.0 Published Updated

Attackers with disk access can read plaintext credentials from HashiCorp Boundary workers when KMS encryption fails during rotation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-0690?

CVE-2023-0690 is a medium-severity vulnerability in HashiCorp Boundary, published on 8 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

HashiCorp Boundary from 0.10.0 through 0.11.2 contain an issue where when using a PKI-based worker with a Key Management Service (KMS) defined in the configuration file, new credentials created after an automatic rotation may not have been encrypted via the intended KMS. This would result in the credentials being stored in plaintext on the Boundary PKI worker’s disk.

This issue is fixed in version 0.12.0.

Weakness: CWE-311, CWE-312

Which versions are affected by CVE-2023-0690?

3 open source packages ship an affected version, including github.com/hashicorp/boundary. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/boundary GoFrom 0.10.00.12.0
github.com/hashicorp/boundary GoFrom 0.10.00.12.0
github.com/hashicorp/boundary GoFrom 0.10.00.12.0

Products include Hashicorp Boundary.

How do I fix CVE-2023-0690?

Upgrade github.com/hashicorp/boundary to 0.12.0 or later.

Is CVE-2023-0690 being exploited?

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

Sources

Also known as GHSA-9vrm-v9xv-x3xr, GO-2023-1898.

Is CVE-2023-0690 in your software?

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

Check your SBOMs for free