GHSA-xq4h-wqm2-668w

Suggest an improvement
Source
https://github.com/advisories/GHSA-xq4h-wqm2-668w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-xq4h-wqm2-668w/GHSA-xq4h-wqm2-668w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xq4h-wqm2-668w
Aliases
Published
2025-11-24T23:34:18Z
Modified
2025-11-27T08:58:53Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Babylon's BIP322 signature implementation is not fully compliant to the spec
Details

Summary

The BIP-322 signature verification does not enforce the SIGHASH value to be SIGHASH_ALL, and therefore is not strictly following the spec.

Impact

Non-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.

Database specific
{
    "cwe_ids":  [
        "CWE-347"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-11-24T23:34:18Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/babylonlabs-io/babylon/v4

Package

Name
github.com/babylonlabs-io/babylon/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/babylonlabs-io/babylon/v4

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-xq4h-wqm2-668w/GHSA-xq4h-wqm2-668w.json"