GHSA-56j4-446m-qrf6: Github.com/babylonlabs io/babylon/v2 Babylon Vulnerable To Chain Half Vulnerability
HIGHGHSA-56j4-446m-qrf6 is a HIGH babylon vulnerable to chain half vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Github.com/babylonlabs io/babylon/v2 libraries in the Go ecosystem. The issue involves babylon vulnerable to chain half when transaction has fees different than `ubbn`. Remediation is available by upgrading affected packages to version 2.2.0.
GHSA-56j4-446m-qrf6 at a Glance
How to Fix GHSA-56j4-446m-qrf6
To remediate this vulnerability, upgrade all affected Github.com/babylonlabs io/babylon/v2 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/babylonlabs-io/babylon/v2 to 2.2.0
Upgrade github.com/babylonlabs-io/babylon to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/babylonlabs-io/babylon/v2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-56j4-446m-qrf6, inspect your project dependencies for Github.com/babylonlabs io/babylon/v2:
inspect dependencies for github.com/babylonlabs-io/babylon/v2
Analyze the terminal output to locate any version of Github.com/babylonlabs io/babylon/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Github.com/babylonlabs io/babylon/v2, 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
GHSA-56j4-446m-qrf6 Affected Github.com/babylonlabs io/babylon/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/babylonlabs-io/babylon/v2
|
Go |
< 2.2.0
|
2.2.0
|
|
github.com/babylonlabs-io/babylon
|
Go |
≤ 1.1.0
|
|
References
Frequently Asked Questions
What is GHSA-56j4-446m-qrf6?
Which Github.com/babylonlabs io/babylon/v2 versions are affected?
What version fixes GHSA-56j4-446m-qrf6?
Is github.com/babylonlabs-io/babylon/v2 affected?
Is github.com/babylonlabs-io/babylon affected?
What CWE is associated with GHSA-56j4-446m-qrf6?
How can I check Go dependencies for GHSA-56j4-446m-qrf6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-56j4-446m-qrf6",
"modified" : "2025-07-29T23:43:41Z",
"published" : "2025-06-30T17:54:02Z",
"aliases" : [ ],
"summary" : "Babylon vulnerable to chain half when transaction has fees different than `ubbn`",
"details" : "### Summary\n\nSending transactions with fees different than native Babylon genesis denom (`ubbn`) leads to chain halt.\n\n### Impact\n\nDenial of Service - Due to panic in the `x/distribution` module `BeginBlocker` triggered by a error when sending fees from `feeCollector` to `x/distribution` module - https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/keeper/allocation.go#L28 Babylon Genesis will halt",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/babylonlabs-io/babylon/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/babylonlabs-io/babylon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-56j4-446m-qrf6"
}, {
"type" : "WEB",
"url" : "https://github.com/babylonlabs-io/babylon/commit/fe67aebd5216e7d3afa1d7dee2a3f82e548556f3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/babylonlabs-io/babylon"
}, {
"type" : "WEB",
"url" : "https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/keeper/allocation.go#L28"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-30T17:54:02Z",
"nvd_published_at" : null
}
}