CVE-2021-21387: Wrongthink - Weak Cryptography
- Cve: CVE-2021-21387
- Name: Wrongthink - Weak Cryptography
- Description: Wrongthink peer-to-peer, end-to-end encrypted messenger with PeerJS and Axolotl ratchet. In wrongthink from version 2.0.0 and before 2.3.0 there was a set of vulnerabilities causing inadequate encryption strength. Part of the secret identity key was disclosed by the fingerprint used for connection. Additionally, the safety number was improperly calculated. It was computed using part of one of the public identity keys instead of being derived from both public identity keys. This caused issues in computing safety numbers which would potentially be exploitable in the real world. Additionally there was inadequate encryption strength due to use of 1024-bit DSA keys. These issues are all fixed in version 2.3.0.
- Impact: Attackers can exploit encryption weaknesses to compromise message confidentiality and authenticity.
- Remediation: Update to version 2.3.0 or later.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00392
- Epss percentile: 0.33822
- Assignee: [email protected]
- Published at: 2021-03-19T16:15:12Z
- Age in days: 2076
- Modified at: 2026-06-17T03:35:27Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21387
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-319 | Cleartext Transmission of Sensitive Information |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/parabirb/wrongthink/security/advisories/GHSA-5jxh-6378-rg7v | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wrongthink:wrongthink | >= 2.0.0, < 2.3.0 | no | nvd | /v1/products/wrongthink/wrongthink |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| parabirb/wrongthink | security_advisory | yes | /v1/repositories/parabirb/wrongthink |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts