Skip to content

GHSA-xq4h-wqm2-668w Babylon's BIP322 signature implementation is not fully compliant to the spec

MediumCVSS 6.9
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) < 4.1.0; All versions 4.1.0 Partially fixed

Affected products

ProductAffected versionsFixed in
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) < 4.1.0 4.1.0
babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) All versions No fix listed

References