Improper Verification of Cryptographic Signature
CVE-2024-49365
Summary
The tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. In versions prior to 1.1.7, a malicious JSON-stringifyable message can be made by passing on `verify()` when global Buffer is the buffer package. This affects only environments where `require('buffer')` is the NPM buffer package. `Buffer.isBuffer` check can be bypassed, resulting in strange objects being accepted as a `message`, and those messages could trick `verify()` into returning false-positive `true` values. This has the same fix as CVE-2024-49364.
- LOW
- NETWORK
- NONE
- NONE
CWE-347 - Improper Verification of Cryptographic Signature
A cryptographic protocol is meant to ensure that services are provided in a secure manner. An application with absent or improper verification of cryptographic signatures allows malicious users to feed false messages to valid users or to disclose sensitive data, subverting the goals of the protocol. This can lead to security failures such as false authentication, account hijacking, and privilege escalation.
References
Advisory Timeline
- Published