CVE-2021-34430 in Eclipse Tinydtls
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Eclipse | Tinydtls | 0.9 ≤ 0.8.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-34430 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-076978-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-07-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-326: CWE-326
CWE-338: CWE-338
Related attack patterns (CAPEC)
CAPEC-20 Encryption Brute Forcing via CWE-326
CAPEC-112 Brute Force via CWE-326
CAPEC-192 Protocol Analysis via CWE-326
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Eclipse TinyDTLS through version 0.9-rc1 uses the rand function from the C library, which can be exploited by remote attackers to predict the master key and decrypt DTLS traffic.
The vulnerability stems from the use of the rand function, which is not cryptographically secure. An attacker can exploit this to predict the master key used in DTLS sessions, allowing them to decrypt traffic.
Questions
What is CVE-2021-34430?
Eclipse TinyDTLS through version 0.9-rc1 uses the rand function from the C library, which can be exploited by remote attackers to predict the master key and decrypt DTLS traffic.
What is the CVSS score for CVE-2021-34430?
CVE-2021-34430 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.0%.
Is CVE-2021-34430 actively exploited?
No confirmed active exploitation of CVE-2021-34430 as of 2026-09-25.
How do I remediate CVE-2021-34430?
Priority: HIGH. Advisory: https://bugs.eclipse.org/bugs/show_bug.cgi?id=568803
What systems are affected by CVE-2021-34430?
CVE-2021-34430 affects Eclipse Tinydtls.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Eclipse","product":"Tinydtls","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.