CVE-2022-35917: Weakness in Transfer Validation Logic in @solana/pay
Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied validateTransfer function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version 0.2.1. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-35917?
The severity of CVE-2022-35917 is medium with a CVSS score of 5.3.
How do I fix CVE-2022-35917?
To fix CVE-2022-35917, apply the available patch provided by Solanalabs Pay.
What does CVE-2022-35917 affect?
CVE-2022-35917 affects the Solana Pay protocol and its reference implementations.
What type of vulnerability is CVE-2022-35917?
CVE-2022-35917 is characterized as a weakness in transfer validation logic.
Is there any remediation for CVE-2022-35917?
Yes, there is a patch available to remediate CVE-2022-35917.