@unit-finance/unit-node-sdk is vulnerable to Observable Timing Discrepancy
20
CVE Score
Low
Observable Timing Discrepancy
Affected versions of this package are vulnerable to a Timing Attack in the webhook signature verification function due to a non-constant-time string comparison. The vulnerable code used a standard equality operator to compare the expected and provided HMAC digests, which allows an attacker to exploit microscopic timing differences in the comparison operation. By repeatedly submitting forged signatures and measuring the server's response time, an attacker could gradually deduce the correct HMAC value character by character.
Upgrade the @unit-finance/unit-node-sdk library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.8.13 - 1.3.4
Fixed in 1.3.5@unit-finance/unit-node-sdk is vulnerable to Observable Timing Discrepancy in versions 0.8.13 - 1.3.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.