
Cloud Vulnerability DB
A community-led vulnerabilities database
When response signature verification is enabled, the SDK skips the check entirely if the API response carries no signature (or an empty one). An attacker who can modify API responses can strip the signature and substitute arbitrary response data, which the SDK then returns as verified.
| Ecosystem | Package | Affected | Patched |
|---|---|---|---|
| Packagist | payos/payos | <= 2.0.0 | 2.0.1 |
The Go (github.com/payOSHQ/payos-lib-golang/v2) and Java (vn.payos:payos-java) SDKs already rejected a missing signature and are not affected. Their patched releases only switch the comparison to constant time. |
Low — CVSS 3.1 base score 3.7, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CWE-347 (Improper Verification of Cryptographic Signature), CWE-290 (Authentication Bypass by Spoofing).
Response verification applies to payment-request create, get and cancel, and to invoice retrieval. The affected SDKs guarded the check with a condition equivalent to "if a signature is present and data is present, verify". A response with the signature removed therefore passed without any check:
if (resSignature && data) in the client response handler.When response verification is enabled, a missing or empty signature now raises Missing response signature. A mismatch still raises Data integrity check failed. The comparison runs in constant time.
Until upgrading, re-fetch payment state with a separate verified call, or confirm payments only through verified webhooks, and ensure the HTTPS path to the payOS API does not traverse untrusted proxies.
Vo Le Anh Tuan (Swinburne University of Technology), GitHub @tuankhongbietcode
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."