{"id":"GHSA-5w25-hxp5-h8c9","revision":null,"records":[{"revision":"75ec6ccd7df44efaaac98e6f1a415c59","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-32685","aliases":[],"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 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`.","state":0,"publishedAt":"2021-06-16T00:25:11+00:00","modifiedAt":"2024-08-03T23:25:31.108+00:00","affected":[{"ecosystem":"Vendor product","name":"tEnvoy","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"tEnvoy\",\n                    \"vendor\": \"TogaTech\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 7.0.3\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m","https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-32685","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-32685","identifiers":["CVE-2021-32685"]},"retained":false,"historicalAffected":[]},{"revision":"7c3a063076954263a774b26c9f7eb422","observedAt":"2026-11-24T03:35:21.725+00:00","statement":{"source":"euvd","id":"EUVD-2021-1273","aliases":["CVE-2021-32685","GHSA-5w25-hxp5-h8c9","GHSA-7r96-8g3x-g36m"],"title":"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 `tEnvoyNaClSigningK…","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`.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m","https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1273","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 16, 2021, 12:25:11 AM","dateUpdated":"Aug 3, 2024, 11:25:31 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1273","identifiers":["EUVD-2021-1273","CVE-2021-32685","GHSA-5w25-hxp5-h8c9","GHSA-7r96-8g3x-g36m"]},"retained":false,"historicalAffected":[]},{"revision":"f0191c8bd04a45609c68c8159f753f4d","observedAt":"2026-10-24T18:17:28.628+00:00","statement":{"source":"nvd","id":"CVE-2021-32685","aliases":[],"title":"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 `tEnvoyNaClSigningK…","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`.","state":0,"publishedAt":"2021-06-16T01:15:06.93+00:00","modifiedAt":"2026-06-17T03:53:25.277+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"severity":"HIGH"}],"references":["https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3","https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-32685","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-347"],"productCriteria":["cpe:2.3:a:togatech:tenvoy:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2021-06-16T01:15:06.930","lastModified":"2026-06-17T03:53:25.277"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-32685","identifiers":["CVE-2021-32685"]},"retained":false,"historicalAffected":[]},{"revision":"35f66efc6c9b4f9997acc43ffa6e1ef8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5w25-hxp5-h8c9","aliases":[],"title":"Duplicate Advisory: Improper Verification of Cryptographic Signature","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-7r96-8g3x-g36m. This link is maintained to preserve external references.\n\n## Original Description\ntEnvoy 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`.","state":2,"publishedAt":"2021-06-21T17:12:13+00:00","modifiedAt":"2026-02-03T03:08:04.703683+00:00","affected":[{"ecosystem":"npm","name":"tenvoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.0.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m","https://nvd.nist.gov/vuln/detail/CVE-2021-32685","https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3"],"sourceUrl":"https://github.com/advisories/GHSA-5w25-hxp5-h8c9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5w25-hxp5-h8c9","identifiers":["GHSA-5w25-hxp5-h8c9"]},"retained":false,"historicalAffected":[]},{"revision":"21661de4c3644e8c950f325761f740c9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7r96-8g3x-g36m","aliases":["CVE-2021-32685"],"title":"Improper Verification of Cryptographic Signature","description":"### Impact\nThe `verifyWithMessage` method of `tEnvoyNaClSigningKey` always returns `true` for any signature of a SHA-512 hash matching the SHA-512 hash of the message even if the signature is invalid.\n\n### Patches\nUpgrade to `v7.0.3` immediately to resolve this issue. Since the vulnerability lies within the verification method, the previous signatures are still valid. We highly recommend reverifying any signatures that were previously verified with the vulnerable `verifyWithMessage` method.\n\n### Workarounds\nIn `tenvoy.js` under the `verifyWithMessage` method definition within the `tEnvoyNaClSigningKey` class, ensure that the return statement call to `this.verify` ends in `.verified`. For example, the return statement should start with `return this.verify(signed, password).verified && ` instead of `return this.verify(signed, password) && `.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/TogaTech/tEnvoy](https://github.com/TogaTech/tEnvoy)","state":0,"publishedAt":"2021-06-28T17:16:56+00:00","modifiedAt":"2026-07-08T06:27:47.0223762+00:00","affected":[{"ecosystem":"npm","name":"tenvoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.0.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/TogaTech/tEnvoy/security/advisories/GHSA-7r96-8g3x-g36m","https://nvd.nist.gov/vuln/detail/CVE-2021-32685","https://github.com/TogaTech/tEnvoy/commit/a121b34a45e289d775c62e58841522891dee686b","https://github.com/TogaTech/tEnvoy","https://github.com/TogaTech/tEnvoy/releases/tag/v7.0.3"],"sourceUrl":"https://github.com/advisories/GHSA-7r96-8g3x-g36m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7r96-8g3x-g36m","identifiers":["GHSA-7r96-8g3x-g36m","CVE-2021-32685"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.034918+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0349214+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eff9d08c8f0fa32ddca8b3faeb4fb15ed8fd3be7ad4cea54f526276594975076","complete":true,"records":432225,"lastAttemptAt":"2026-11-25T16:28:38.1682659+00:00","lastSuccessAt":"2026-11-25T16:28:38.0153955+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.1682659+00:00","snapshotPublishedAt":"2026-11-25T16:27:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2cc9618f59ba412d8353554277be9242","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T16:39:09.1296995+00:00","lastSuccessAt":"2026-11-25T16:39:09.5176195+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:39:09.5176195+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.035995+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0359954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1697be945394a11bfe4d90c22645cd8","complete":true,"records":13951,"lastAttemptAt":"2026-11-25T16:30:53.1656546+00:00","lastSuccessAt":"2026-11-25T16:30:53.16+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:53.16+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13987,"expectedIdentifiers":13987,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T16:30:51.4950342+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.4950342+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T16:28:38.3174258+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.3174258+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T16:30:51.5978795+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.5978795+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93117e9f4237570c8330a2370f4c3e20e3306a5fa2ad4a5c945eb39d2bbbbbda","complete":true,"records":233129,"lastAttemptAt":"2026-11-25T16:30:51.3700222+00:00","lastSuccessAt":"2026-11-25T16:30:50.1279622+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.3700222+00:00","snapshotPublishedAt":"2026-11-25T15:33:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}