{"answers":{"affected":"3 open source packages ship an affected version, including github.com/babylonlabs-io/babylon.","exploited":"There is no known exploitation of GHSA-869w-47c6-fq8q in the wild and no public exploit code.","fix":"Upgrade github.com/babylonlabs-io/babylon to 1.1.0 or later.","what":"GHSA-869w-47c6-fq8q is a vulnerability in github.com/babylonlabs-io/babylon, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-869w-47c6-fq8q and fix it if it is affected.\n\nWhat it is: GHSA-869w-47c6-fq8q is a vulnerability in github.com/babylonlabs-io/babylon, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-869w-47c6-fq8q in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/babylonlabs-io/babylon (Go): affected all versions; no fix listed\n- github.com/babylonlabs-io/babylon (Go): affected all versions; fixed in 1.1.0\n- github.com/babylonlabs-io/babylon (Go): affected all versions; fixed in 1.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-869w-47c6-fq8q/ (Markdown: https://insights.sbomify.com/GHSA-869w-47c6-fq8q/index.md)","id":"GHSA-869w-47c6-fq8q","markdown":"https://insights.sbomify.com/GHSA-869w-47c6-fq8q/index.md","name":"GHSA-869w-47c6-fq8q","record":{"aliases":["GO-2025-3687"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Babylon blockchain node","requires_auth":"low_privilege","summary":"An attacker can halt the Babylon blockchain by triggering an integer overflow in reward calculations via token deposits, causing a chain-wide denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\nMinting large amount of tokens through ibc transfer and then depositing them in validator rewards pool (via `DepositValidatorRewardsPool` message) can lead to integer overflow panic when calculating `cumulative_reward_ratio` for the validator.\n\nThis calculation happens in `x/epoching` module `EndBlocker`, thus the panic will halt the chain.\n\n### Impact\n\nDenial of Service - Due to panic in the `EndBlocker` Babylon Genesis will halt","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt","id":"GHSA-869w-47c6-fq8q","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon","purl":"pkg:golang/github.com/babylonlabs-io/babylon","source":"GO-2025-3687"},{"ecosystem":"Go","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon","purl":null,"source":"GHSA-869w-47c6-fq8q"},{"ecosystem":"Go","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon","purl":"pkg:golang/github.com/babylonlabs-io/babylon","source":"GHSA-869w-47c6-fq8q"}],"products":null,"published":"2025-05-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can halt the Babylon blockchain by triggering an integer overflow in reward calculations via token deposits, causing a chain-wide denial of service.","url":"https://insights.sbomify.com/GHSA-869w-47c6-fq8q/"}