External risk intelligence

Mbed TLS DTLS Heap Buffer Over-read Leads to Server Crash

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2022-35409

Mbed TLS is a widely used cryptographic library embedded in numerous internet-facing network applications, gateways, and IoT devices. The vulnerability affects the DTLS server implementation, a protocol commonly exposed on the internet to facilitate encrypted communications, making it plausible that affected services are reachable from public networks.

Out-of-bounds Read

Arm Mbed Tls

before 2.28.13.0.0 to before 3.2.010.0

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory highlights an issue within the Mbed TLS cryptographic library that could allow an unauthenticated attacker to disrupt DTLS server operations, potentially leading to crashes or the disclosure of limited information. The vulnerability is present in certain configurations of the library that handle secure communication protocols, primarily affecting internet-facing network applications, gateways, and IoT devices. The main concern is confirming relevance and exposure.

  • Server crashes or data leaks possible.
  • Widely used library; impacts many connected devices.
  • Confirm if this library is used in your environment.

Attack Path

How an attacker could exploit the issue

An attacker can target a DTLS server by sending a specially crafted, invalid ClientHello message. This message can cause the server to misread data from its memory, potentially leading to a crash or the disclosure of sensitive information. This attack does not require any prior authentication or access to the server.

  • No authentication needed to attack.
  • Triggered by sending invalid client hello.
  • Server crash or information disclosure.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, an unauthenticated attacker could crash a DTLS server or potentially cause information disclosure through error responses by sending a crafted ClientHello message. This could affect servers running Mbed TLS in specific configurations where DTLS client port reuse is enabled and the content length is limited.

  • Server availability and information disclosure.
  • Malformed DTLS messages.
  • Denial of service or data leakage.

Operational Fix

Recommended remediation, mitigation, and detection steps

Infrastructure and platform teams are primarily responsible for managing the Mbed TLS library, as it's often integrated into network services and devices. The first practical step is to inventory all systems using Mbed TLS, confirm if they are internet-reachable or critical, and identify the accountable owner for each. Remediation planning should then proceed based on the assessed risk, potentially involving vendor coordination for updates or temporary mitigations if direct patching isn't immediately feasible.

  • Identify infrastructure and platform owners.
  • Confirm exposure and criticality of systems.
  • Plan risk-based remediation actions.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Mbed TLS and what is it used for?

Mbed TLS is a cryptographic library. It is used to provide secure communication protocols, often embedded in network applications, gateways, and Internet of Things (IoT) devices.

How does CVE-2022-35409 affect Mbed TLS?

CVE-2022-35409 is a heap-based buffer over-read vulnerability. In specific configurations, an attacker can send a malformed message to a DTLS server, causing it to read beyond its allocated memory, which can lead to a server crash or potential information disclosure.

What are the preconditions for an attacker to exploit this vulnerability?

An attacker needs to send an invalid ClientHello message to a DTLS server. This attack does not require any authentication or prior access to the server, and it specifically targets configurations where DTLS client port reuse is enabled and the content length is limited.

Who should be concerned about this CVE based on its exposure?

Organizations with internet-facing network applications, gateways, or IoT devices that use Mbed TLS should be concerned. This vulnerability affects DTLS servers, which are protocols commonly exposed to the public internet for secure communication.

What is the first step for managing this threat?

The initial step is to inventory all systems that use the Mbed TLS library. Following that, confirm if these systems are internet-reachable or critical, and identify the responsible owner for each system to plan appropriate remediation actions.

References