CVE-2021-42143

CRITICAL
Published Jan 24, 2024 Modified Jun 20, 2025 CWE-835

Description

An issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. An infinite loop bug exists during the handling of a ClientHello handshake message. This bug allows remote attackers to cause a denial of service by sending a malformed ClientHello handshake message with an odd length of cipher suites, which triggers an infinite loop (consuming all resources) and a buffer over-read that can disclose sensitive information.

Is your site exposed to CVE-2021-42143?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-835 CWE-835

Affected Products

Vendor Product
contiki-ng tinydtls

References

Frequently Asked Questions

What is CVE-2021-42143? +
An issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. An infinite loop bug exists during the handling of a ClientHello handshake message. This bug allows remote attackers to cause a denial of service by sending a malformed ClientHello handshake message with an odd length of cipher suites, which triggers an infinite loop (consuming all resources) and a buffer over-read that can disclose sensitive information. It has a CVSS v3.1 base score of 9.1 (CRITICAL).
How severe is CVE-2021-42143? +
CVE-2021-42143 has a CVSS v3.1 score of 9.1 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2021-42143? +
CVE-2021-42143 affects products from contiki-ng, specifically: tinydtls. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2021-42143? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2021-42143 — free, no signup required.