SPB Git

Repository Public

QYV-SVC-015.json 1.3 KB 23 lines json

1{2  "id": "QYV-SVC-015",3  "title": "Quadratic Base58 decoding was reachable with unbounded text (extended keys, WIF)",4  "severity": "low",5  "cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",6  "cvss_score": 3.3,7  "cwe": "CWE-407",8  "masvs": "MASVS-CODE-4",9  "area": "parser",10  "location": "Sources/QyvoraCore/HD/BIP32.swift:191",11  "tool": "manual-review",12  "rule": "",13  "status": "fixed",14  "fix_commit": "7e854f2, f111cfb",15  "regression_test": "QyvoraCoreTests.CoreAuditRegressionTests/oversizedExtendedKeyTextIsRefusedWithoutDecoding; QyvoraBitcoinTests.BitcoinAuditRegressionTests/oversizedWIFTextIsRefusedWithoutDecoding",16  "description": "Root cause: `Base58.decode` is quadratic in the length of its input and `ExtendedKey.parse` / `BitcoinWIF.decode` called it without a length check. `importWatchOnly` passes text that comes from a paste or from reassembled QR frames (up to about 20 MB): two million characters keep the wallet actor busy for minutes. Addresses (<= 100 characters) and descriptors (<= 8 192) were already bounded.",17  "recommendation": "Fixed: text longer than 120 characters (extended key) or 60 characters (WIF) is refused before decoding.",18  "evidence": "",19  "fingerprint": "9c62b5255000",20  "reported": "2026-12-04",21  "owner": "review-b"22}23
Files main
Menu

Theme