Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-69287— BSV Blockchain SDK has an Authentication Signature Data Preparation Vulnerability

Quick assessment

Affected
bsv-blockchain ts-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

BSV SDK是BSV Blockchain开源的一个开发者工具包。 BSV SDK 2.0.0之前版本存在安全漏洞,该漏洞源于BRC-104身份验证实现中签名数据准备错误,可能导致身份验证绕过。

CVSS 5.4 · Medium EPSS 0.34% · P29

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-69287

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
BSV Blockchain SDK has an Authentication Signature Data Preparation Vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
调用者对规范的不恰当使用
Source: CVE Program / CVE List V5
Vulnerability Title
BSV SDK 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
BSV SDK是BSV Blockchain开源的一个开发者工具包。 BSV SDK 2.0.0之前版本存在安全漏洞,该漏洞源于BRC-104身份验证实现中签名数据准备错误,可能导致身份验证绕过。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
bsv-blockchain ts-sdk < 2.0.0 -

II. Public POCs for CVE-2025-69287

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-69287

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-69287 (1)

IV. Related Vulnerabilities