Vulnerabilities in pkg:golang/github.com/babylonlabs-io/finality-provider

PACKAGE
Advisory Summary

GHSA-4jmp-x7mh-rgmr is a HIGH finality provider vulnerable to anti-slashing vulnerability (CWE-285: Improper Authorization) affecting Github.com/babylonlabs io/finality provider libraries in the Go ecosystem. The issue involves finality provider vulnerable to anti-slashing bypassing due to misconfiguration. Remediation is available by upgrading affected packages to version 1.0.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/babylonlabs-io/finality-provider

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/babylonlabs-io/finality-provider. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4jmp-x7mh-rgmr - HIGH Finality Provider vulnerable to anti-slashing bypassing due to misconfiguration

GHSA-4jmp-x7mh-rgmr at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4jmp-x7mh-rgmr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-285: Improper Authorization
Affected Product Github.com/babylonlabs io/finality provider
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-4jmp-x7mh-rgmr

To remediate this vulnerability, upgrade all affected Github.com/babylonlabs io/finality provider dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/babylonlabs-io/finality-provider fixed: 1.0.4
Upgrade github.com/babylonlabs-io/finality-provider to 1.0.4
github.com/babylonlabs-io/finality-provider fixed: Latest secure release
Upgrade github.com/babylonlabs-io/finality-provider to Latest secure release
github.com/babylonlabs-io/finality-provider fixed: Latest secure release
Upgrade github.com/babylonlabs-io/finality-provider to Latest secure release
github.com/babylonlabs-io/finality-provider fixed: Latest secure release
Upgrade github.com/babylonlabs-io/finality-provider to Latest secure release
Verify Direct and Transitive Dependencies

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/finality-provider

How to Check if You Are Affected

To determine whether your application is affected by GHSA-4jmp-x7mh-rgmr, inspect your project dependencies for Github.com/babylonlabs io/finality provider:

inspect dependencies for github.com/babylonlabs-io/finality-provider

Analyze the terminal output to locate any version of Github.com/babylonlabs io/finality provider in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.4), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/babylonlabs io/finality provider, 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

### Summary The anti-slashing is not effective if the attacker can access EOTS manager endpoints. ### Impact If the EOTS manager endpoints are open to public without HMAC protection, the attacker can manually cause slashing of the finality provider through the RPC endpoints. Report credits go to: x.com/RebelsRunways

GHSA-4jmp-x7mh-rgmr Affected Github.com/babylonlabs io/finality provider Versions

4 component(s)
Fixed Versions:
1.0.4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/babylonlabs-io/finality-provider
Go
< 1.0.4
1.0.4
github.com/babylonlabs-io/finality-provider
Go
1.1.0-rc.0
All 1 versions
1.1.0-rc.0
None specified
github.com/babylonlabs-io/finality-provider
Go
1.1.0-rc.1
All 1 versions
1.1.0-rc.1
None specified
github.com/babylonlabs-io/finality-provider
Go
1.99.0-devnet.6
All 1 versions
1.99.0-devnet.6
None specified

References

Frequently Asked Questions

What is GHSA-4jmp-x7mh-rgmr?
GHSA-4jmp-x7mh-rgmr is a security vulnerability in Github.com/babylonlabs io/finality provider involving Finality Provider vulnerable to anti-slashing bypassing due to misconfiguration under CWE-285: Improper Authorization.
Which Github.com/babylonlabs io/finality provider versions are affected?
Affected versions include releases prior to 1.0.4 across affected packages: github.com/babylonlabs-io/finality-provider.
What version fixes GHSA-4jmp-x7mh-rgmr?
Upgrading to 1.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/babylonlabs-io/finality-provider affected?
Yes, github.com/babylonlabs-io/finality-provider is affected in releases prior to 1.0.4, Latest secure release. Upgrade your dependency to 1.0.4, Latest secure release or later.
What CWE is associated with GHSA-4jmp-x7mh-rgmr?
GHSA-4jmp-x7mh-rgmr is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for GHSA-4jmp-x7mh-rgmr?
Run the dependency tree command: 'inspect dependencies for github.com/babylonlabs-io/finality-provider'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4jmp-x7mh-rgmr",
  "modified" : "2026-01-22T16:10:26Z",
  "published" : "2025-12-12T20:15:03Z",
  "aliases" : [ ],
  "summary" : "Finality Provider vulnerable to anti-slashing bypassing due to misconfiguration",
  "details" : "### Summary\n\nThe anti-slashing is not effective if the attacker can access EOTS manager endpoints.\n\n### Impact\n\nIf the EOTS manager endpoints are open to public without HMAC protection, the attacker can manually cause slashing of the finality provider through the RPC endpoints.\n\nReport credits go to: x.com/RebelsRunways",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/babylonlabs-io/finality-provider"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/babylonlabs-io/finality-provider"
    },
    "versions" : [ "1.1.0-rc.0" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/babylonlabs-io/finality-provider"
    },
    "versions" : [ "1.1.0-rc.1" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/babylonlabs-io/finality-provider"
    },
    "versions" : [ "1.99.0-devnet.6" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/babylonlabs-io/finality-provider/security/advisories/GHSA-4jmp-x7mh-rgmr"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/babylonlabs-io/finality-provider/commit/721bf5b7a271ada1679a67496c9bc3516c339390"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/babylonlabs-io/finality-provider"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-12T20:15:03Z",
    "nvd_published_at" : null
  }
}