CVE-2024-12289: Github.com/hashicorp/boundary Denial of Service Vulnerability
MODERATECVE-2024-12289 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-460: Improper Cleanup on Thrown Exception) affecting Github.com/hashicorp/boundary libraries in the Go ecosystem. The issue involves boundary community edition incorrectly handles http requests on initialization which may lead to a denial of service. Remediation is available by upgrading affected packages to version 0.18.2.
CVE-2024-12289 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-12289
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.18.2
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-12289, 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.18.2), 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-460: Improper Cleanup on Thrown Exception, where the product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow. 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-12289 Affected Github.com/hashicorp/boundary Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/boundary
|
Go |
< 0.18.2
|
0.18.2
|
References
Frequently Asked Questions
What is CVE-2024-12289?
Which Github.com/hashicorp/boundary versions are affected?
What version fixes CVE-2024-12289?
Is github.com/hashicorp/boundary affected?
What is the CVSS score of CVE-2024-12289?
What CWE is associated with CVE-2024-12289?
How can I check Go dependencies for CVE-2024-12289?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xx83-cxmq-x89m",
"modified" : "2025-12-31T22:00:42Z",
"published" : "2024-12-13T00:30:50Z",
"aliases" : [ "CVE-2024-12289" ],
"summary" : "Boundary Community Edition Incorrectly Handles HTTP Requests On Initialization Which May Lead to a Denial of Service",
"details" : "Boundary Community Edition and Boundary Enterprise (“Boundary”) incorrectly handle HTTP requests during the initialization of the Boundary controller, which may cause the Boundary server to terminate prematurely. Boundary is only vulnerable to this flaw during the initialization of the Boundary controller, which on average is measured in milliseconds during the Boundary startup process.\n\nThis vulnerability, CVE-2024-12289, is fixed in Boundary Community Edition and Boundary Enterprise 0.16.4, 0.17.3, 0.18.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/boundary"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.18.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-12289"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2024-28-boundary-controller-incorrectly-handles-http-requests-on-initialization-which-may-lead-to-a-denial-of-service"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/boundary"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-460", "CWE-665" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-13T20:37:17Z",
"nvd_published_at" : "2024-12-12T23:15:10Z"
}
}