CVE-2021-34430: Eclipse TinyDTLS - Weak Randomness
- Cve: CVE-2021-34430
- Name: Eclipse TinyDTLS - Weak Randomness
- Description: Eclipse TinyDTLS through 0.9-rc1 relies on the rand function in the C library, which makes it easier for remote attackers to compute the master key and then decrypt DTLS traffic.
- Impact: Remote attackers can decrypt DTLS traffic by predicting the master key, compromising confidentiality.
- Remediation: Update to the latest version where the randomness issue is fixed or implement a cryptographically secure random number generator.
- 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.01045
- Epss percentile: 0.64816
- Assignee: [email protected]
- Published at: 2021-07-08T03:15:07Z
- Age in days: 1965
- Modified at: 2026-06-17T03:55:51Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34430
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
| CWE-326 | Inadequate Encryption Strength |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.eclipse.org/bugs/show_bug.cgi?id=568803 | nvd | 2021-07-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://bugs.eclipse.org/bugs/show_bug.cgi?id=568803 | nvd | Exploit, Issue Tracking, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| eclipse:tinydtls | = 0.9 rc1, <= 0.8.2 | no | nvd | /v1/products/eclipse/tinydtls |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-07-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts