LiveActive security incident?Get immediate response
CVE Record

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

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`.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A signature check in tEnvoy before 7.0.3 could accept invalid signatures as valid. If an application used this check to trust messages, users, or signed data, attackers could potentially bypass authenticity and integrity controls. The vendor patched the issue in version 7.0.3.

Executive priority

Treat this as high-priority where tEnvoy protects authentication, authorization, signed messages, or trusted data flows. The flaw can undermine a core cryptographic trust boundary, but urgency should be scoped to confirmed tEnvoy use before 7.0.3.

Technical view

CVE-2021-32685 is CWE-347 in TogaTech tEnvoy before 7.0.3. The tEnvoyNaClSigningKey verifyWithMessage method could return true when a SHA-512 hash matched the message even though the signature itself was invalid. The published CVSS 3.1 score is 9.8 with network attack vector and no privileges or user interaction required.

Likely exposure

Exposure is likely only where applications use TogaTech tEnvoy versions before 7.0.3 and rely on tEnvoyNaClSigningKey.verifyWithMessage for security decisions. The package is described as usable in Node.js and browser contexts, so both server-side and client-side integrations should be checked.

Exploitation context

The provided sources do not show known active exploitation, and KEV is false. Practical impact depends on whether an application treats verifyWithMessage results as proof of identity, message integrity, authorization, or trusted signed content. Public sources identify the flaw and fix, but do not provide evidence of exploitation in the wild.

Researcher notes

Focus validation on vulnerable method usage, not just package presence. Confirm whether applications consume the boolean result directly in security-sensitive paths. The vendor workaround indicates the return value should use this.verify(...).verified, showing the defect is in result interpretation rather than the underlying signature primitive alone.

Mitigation direction

  • Upgrade tEnvoy to version 7.0.3 or later.
  • If upgrade is delayed, apply the vendor workaround for verifyWithMessage.
  • Review code paths that rely on tEnvoy signature verification for trust decisions.
  • Check vendor guidance and release notes before deploying changes.

Validation and detection

  • Inventory direct and transitive tEnvoy versions in application dependencies.
  • Search code for tEnvoyNaClSigningKey and verifyWithMessage usage.
  • Confirm deployed artifacts use tEnvoy 7.0.3 or later.
  • Add regression tests requiring invalid signatures to fail verification.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-347: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32685 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2021-32685Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
TogaTechtEnvoy< 7.0.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-347 · source CWE mapping

Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic Signature represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.