CVE-2024-1052: Github.com/hashicorp/boundary Boundary Vulnerable To Session Hijacking Vulnerability
HIGHCVE-2024-1052 is a HIGH (CVSS 8.0) boundary vulnerable to session hijacking vulnerability (CWE-295: Improper Certificate Validation) affecting Github.com/hashicorp/boundary libraries in the Go ecosystem. The issue involves boundary vulnerable to session hijacking through tls certificate tampering. Remediation is available by upgrading affected packages to version 0.15.0.
CVE-2024-1052 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-1052
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.15.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-2024-1052, 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.15.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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. 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-2024-1052 Affected Github.com/hashicorp/boundary Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/boundary
|
Go |
≥ 0.8.0
< 0.15.0
|
0.15.0
|
References
Frequently Asked Questions
What is CVE-2024-1052?
Which Github.com/hashicorp/boundary versions are affected?
What version fixes CVE-2024-1052?
Is github.com/hashicorp/boundary affected?
What is the CVSS score of CVE-2024-1052?
What CWE is associated with CVE-2024-1052?
How can I check Go dependencies for CVE-2024-1052?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vh73-q3rw-qx7w",
"modified" : "2024-02-05T23:06:56Z",
"published" : "2024-02-05T21:30:31Z",
"aliases" : [ "CVE-2024-1052" ],
"summary" : "Boundary vulnerable to session hijacking through TLS certificate tampering",
"details" : "Boundary and Boundary Enterprise (“Boundary”) is vulnerable to session hijacking through TLS certificate tampering. An attacker with privileges to enumerate active or pending sessions, obtain a private key pertaining to a session, and obtain a valid trust on first use (TOFU) token may craft a TLS certificate to hijack an active session and gain access to the underlying service or application.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/boundary"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.8.0"
}, {
"fixed" : "0.15.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1052"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2024-02-boundary-vulnerable-to-session-hijacking-through-tls-certificate-tampering/62458"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/boundary"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-05T23:06:56Z",
"nvd_published_at" : "2024-02-05T21:15:11Z"
}
}