CVE-2025-69287

Source
https://cve.org/CVERecord?id=CVE-2025-69287
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69287.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-69287
Aliases
Published
2026-02-18T18:42:22.893Z
Modified
2026-03-01T02:55:34.796228Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
Summary
BSV Blockchain SDK has an Authentication Signature Data Preparation Vulnerability
Details

The BSV Blockchain SDK is a unified TypeScript SDK for developing scalable apps on the BSV Blockchain. Prior to version 2.0.0, a cryptographic vulnerability in the TypeScript SDK's BRC-104 authentication implementation caused incorrect signature data preparation, resulting in signature incompatibility between SDK implementations and potential authentication bypass scenarios. The vulnerability was located in the Peer.ts file of the TypeScript SDK, specifically in the processInitialRequest and processInitialResponse methods where signature data is prepared for BRC-104 mutual authentication. The TypeScript SDK incorrectly prepared signature data by concatenating base64-encoded nonce strings (message.initialNonce + sessionNonce) then decoding the concatenated base64 string (base64ToBytes(concatenatedString)). This produced ~32-34 bytes of signature data instead of the correct 64 bytes. BRC-104 authentication relies on cryptographic signatures to establish mutual trust between peers. When signature data preparation is incorrect, signatures generated by the TypeScript SDK don't match those expected by Go/Python SDKs; cross-implementation authentication fails; and an attacker could potentially exploit this to bypass authentication checks. The fix in version 2.0.0 ensures all SDKs now produce identical cryptographic signatures, restoring proper mutual authentication across implementations.

Database specific
{
    "cwe_ids": [
        "CWE-573"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69287.json"
}
References

Affected packages

Git / github.com/bsv-blockchain/ts-sdk

Affected ranges

Type
GIT
Repo
https://github.com/bsv-blockchain/ts-sdk
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.1
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.17
v1.0.18
v1.0.19
v1.0.2
v1.0.20
v1.0.21
v1.0.4
v1.0.40
v1.0.5
v1.0.6
v1.0.8
v1.0.9
v1.1.0
v1.1.14
v1.1.15
v1.1.16
v1.1.19
v1.1.2
v1.1.20
v1.1.30
v1.1.5
v1.1.7
v1.1.8
v1.10.1
v1.10.4
v1.2.13
v1.2.14
v1.2.15
v1.2.18
v1.2.19
v1.2.20
v1.2.4
v1.2.5
v1.2.7
v1.3.0
v1.3.20
v1.3.21
v1.3.3
v1.3.7
v1.4.21
v1.4.22
v1.4.24
v1.4.25
v1.5.0
v1.5.1
v1.5.2
v1.6.10
v1.6.11
v1.6.14
v1.6.18
v1.6.22
v1.6.25
v1.6.5
v1.6.8
v1.8.0
v1.8.11
v1.8.3
v1.9.10
v1.9.11
v1.9.19
v1.9.20
v1.9.23
v1.9.24
v1.9.26
v1.9.27
v1.9.29
v1.9.30
v1.9.4
v2.*
v2.0.0-beta.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69287.json"