
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-32685 affects tEnvoy, a library that contains PGP, NaCl, and PBKDF2 functionality in node.js and browser environments for hashing, random operations, encryption, decryption, signatures, and conversions. The vulnerability was discovered and disclosed on June 15, 2021, affecting versions below 7.0.3 of the tEnvoy package (GitHub Advisory).
The vulnerability exists in the verifyWithMessage method of tEnvoyNaClSigningKey class. The method would incorrectly return true for any signature that had a SHA-512 hash matching the SHA-512 hash of the message, even when the signature itself was invalid. This was due to an implementation error where the verification result was not properly checked (GitHub Commit).
This critical vulnerability could allow an attacker to forge signatures that would be accepted as valid by the verification method. Since the vulnerability affects the cryptographic signature verification process, it compromises the integrity and authenticity verification mechanisms of the library (GitHub Advisory).
The vulnerability was patched in version 7.0.3 of tEnvoy. Users should upgrade immediately to this version. Additionally, it is recommended to reverify any signatures that were previously verified with the vulnerable verifyWithMessage method. As a workaround, users can modify the return statement in the verifyWithMessage method to ensure it includes .verified in the verification check (GitHub Release).
Source: This report was generated using AI
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."