CVE-2023-0690: Github.com/hashicorp/boundary HashiCorp Boundary Workers Store Rotated Vulnerability
HIGHCVE-2023-0690 is a HIGH (CVSS 7.1) hashicorp boundary workers store rotated vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Github.com/hashicorp/boundary libraries in the Go ecosystem. The issue involves hashicorp boundary workers store rotated credentials in plaintext even when key management service configured. Remediation is available by upgrading affected packages to version 0.12.0.
CVE-2023-0690 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2023-0690
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/boundary dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/boundary to 0.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/boundary
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-0690, inspect your project dependencies for Github.com/hashicorp/boundary:
inspect dependencies for github.com/hashicorp/boundary
Analyze the terminal output to locate any version of Github.com/hashicorp/boundary in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Github.com/hashicorp/boundary, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-0690 Affected Github.com/hashicorp/boundary Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/boundary
|
Go |
≥ 0.10.0
< 0.12.0
|
0.12.0
|
References
Frequently Asked Questions
What is CVE-2023-0690?
Which Github.com/hashicorp/boundary versions are affected?
What version fixes CVE-2023-0690?
Is github.com/hashicorp/boundary affected?
What is the CVSS score of CVE-2023-0690?
What CWE is associated with CVE-2023-0690?
How can I check Go dependencies for CVE-2023-0690?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9vrm-v9xv-x3xr",
"modified" : "2023-07-06T21:47:39Z",
"published" : "2023-07-06T19:24:09Z",
"aliases" : [ "CVE-2023-0690" ],
"summary" : "HashiCorp Boundary Workers Store Rotated Credentials in Plaintext Even When Key Management Service Configured",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/boundary"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.10.0"
}, {
"fixed" : "0.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0690"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2023-03-boundary-workers-store-rotated-credentials-in-plaintext-even-when-key-management-service-configured/49907"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/boundary"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-311", "CWE-312" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-06T21:47:39Z",
"nvd_published_at" : "2023-02-08T19:15:00Z"
}
}