CRITICAL🇵🇱 Wersja polska

CVE-2021-42143

CVSS 9.1v3.1pub. 2024-01-24upd. 2025-06-20

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.

🤖 AI Analysis
How it works

An attacker sends a crafted ClientHello message containing an odd-length cipher suites list. Invalid input causes the handshake processing code to enter an infinite loop that consumes all available system resources. At the same time, a read beyond buffer boundaries (buffer over-read) occurs, which may lead to disclosure of sensitive information stored in the process memory.

Impact

An attacker can completely disable a device or process using the tinyDTLS library (DoS), and potentially gain access to sensitive data from memory by exploiting the buffer over-read error.

Mitigation & patch

Apply patches available from the vendor according to the references. It is recommended to update the tinyDTLS library to a version containing a fix for the cipher suites field handling error in the ClientHello message and to monitor publicly available repositories of the Contiki-NG project for patch releases.

Who is affected

Contiki-NG tinyDTLS — master branch up to and including commit 53a0d97

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Contiki Ng Tinydtls

    APP
    Contiki-Ng
    ≤ 2018-08-30
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
DoS
CWE
References

Related vulnerabilities

CVE-2021-42147CRITICAL9.1PL ✓same product

Buffer over-read w Contiki-NG tinyDTLS — zdalne DoS przez spreparowany pakiet

CVE-2021-42142CRITICAL9.8PL ✓same product

Nieprawidłowa obsługa dużego numeru epoki w Contiki-NG tinyDTLS — DoS i fałszywe odrzucanie pakietów

CVE-2021-42141CRITICAL9.8PL ✓same product

Błąd obsługi handshake DTLS w Contiki-NG tinyDTLS — denial of service

CVE-2021-42145HIGH7.5same product

An assertion failure discovered in in check_certificate_request() in Contiki-NG tinyDTLS through master branch...

CVE-2021-42146HIGH7.5same product

An issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. DTLS servers allow remote attack...