SPB Git

Repository Public

QYV-SVC-021.json 1.8 KB 23 lines json

1{2  "id": "QYV-SVC-021",3  "title": "One Solana endpoint could declare a live transaction expired or failed and release the double-payment guard",4  "severity": "medium",5  "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",6  "cvss_score": 5.3,7  "cwe": "CWE-345",8  "masvs": "MASVS-NETWORK-1",9  "area": "service",10  "location": "Sources/QyvoraSolana/SolanaRPC.swift:523",11  "tool": "manual-review",12  "rule": "",13  "status": "fixed",14  "fix_commit": "04bb687",15  "regression_test": "QyvoraSolanaTests.SolanaAuditRegressionTests/oneEndpointCannotDeclareALiveTransactionDeadOrFailed",16  "description": "Root cause: `SolanaRPC.track` took the answer of the first endpoint that replied (getSignatureStatuses, then getBlockHeight at the finalized commitment). The wallet marks a sent transaction as settled on `.expired` and `.failed`, and only then lets the same payment be prepared again (`requireNoPaymentInFlight`). An endpoint that hides the inclusion (status null) and announces a block height it invented, or that invents a failure, therefore made the wallet tell the user that a transaction still valid for about 150 blocks was dead; the user pays again and both transactions are executed. Impact: double payment to the intended recipient, needing a lying first endpoint and the user repeating the payment.",17  "recommendation": "Fixed: `track` asks every configured endpoint and returns `.expired`, `.failed` or `.included` only when all those that answer agree (the weakest commitment is kept); any disagreement gives `.pending`. Residual risk: with a single endpoint configured (the default on devnet and testnet) there is nothing to compare with, and an endpoint that lies can also stall a transaction at `pending`; see QYV-APP-021.",18  "evidence": "",19  "fingerprint": "b1732b745013",20  "reported": "2026-12-05",21  "owner": "multichain-solana"22}23
Files main
Menu

Theme