# CVE-2021-32685: Improper Verification of Cryptographic Signature in tenvoy

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2021-06-16T00:25:11.000Z
- Modified: 2026-07-08T06:27:47.022Z
- Also known as: GHSA-7r96-8g3x-g36m
- Weaknesses: CWE-347
- Assigned by: GitHub_M

## Description

tEnvoy contains the PGP, NaCl, and PBKDF2 in node.js and the browser (hashing, random, encryption, decryption, signatures, conversions), used by TogaTech.org. In versions prior to 7.0.3, the `verifyWithMessage` method of `tEnvoyNaClSigningKey` always returns `true` for any signature that has a SHA-512 hash matching the SHA-512 hash of the message even if the signature was invalid. This issue is patched in version 7.0.3. As a workaround: In `tenvoy.js` under the `verifyWithMessage` method definition within the `tEnvoyNaClSigningKey` class, ensure that the return statement call to `this.verify` ends in `.verified`.

(As written by CVE List.)

## Affected

- TogaTech tEnvoy: < 7.0.3; before 7.0.3
- tenvoy (npm): before 7.0.3

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m> (third-party-advisory, web)
- <https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b> (patch, third-party-advisory, web)
- <https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32685> (advisory)
- <https://github.com/TogaTech/tEnvoy> (package)

## Sources

- CVE List: [CVE-2021-32685](https://www.cve.org/CVERecord?id=CVE-2021-32685), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7r96-8g3x-g36m](https://github.com/advisories/GHSA-7r96-8g3x-g36m), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32685](https://nvd.nist.gov/vuln/detail/CVE-2021-32685), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32685 · Whole record: https://cve.day/CVE-2021-32685.json · Rebuilt by cve.day 2026-11-25T22:58:01.921Z
