{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32685","id":"CVE-2021-32685","title":"Improper Verification of Cryptographic Signature in tenvoy","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 pa","descriptionLong":"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`.","published":"2021-06-16T00:25:11.000Z","updated":"2026-10-20T10:54:42.603819819Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["TogaTech tEnvoy"],"affectedProducts":[{"vendor":"TogaTech","product":"tEnvoy","defaultStatus":null,"versions":[{"status":"affected","version":"< 7.0.3"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"tenvoy","purl":"pkg:npm/tenvoy","ranges":["<7.0.3"],"fixed":["7.0.3"],"advisory":"GHSA-7r96-8g3x-g36m"}],"cwes":["CWE-347"],"aliases":["GHSA-7r96-8g3x-g36m"],"references":[{"url":"https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32685","tags":["advisory"]},{"url":"https://github.com/TogaTech/tEnvoy","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00658,"epssPercentile":0.52306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32685","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32685","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32685","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7r96-8g3x-g36m","ok":true,"note":"GHSA-7r96-8g3x-g36m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32685","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}