Vulnerability · Published Jul 15, 2022 · Assigned by mitre
CVE-2022-35409
Critical 9.1
In plain English
A critical-severity security flaw in the mbedtls package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. In some configurations, an unauthenticated attacker can send an invalid ClientHello message to a DTLS server that causes a heap-based buffer over-read of up to 255 bytes. This can cause a server crash or possibly information disclosure based on error responses. Affected configurations have MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE enabled and MBEDTLS_SSL_IN_CONTENT_LEN less than a threshold that depends on the configuration: 258 bytes if using mbedtls_ssl_cookie_check, and possibly up to 571 bytes with a custom cookie check function.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mbedtls | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.21 | mbedtls | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.22 | mbedtls | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.23 | mbedtls | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.24 | mbedtls | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.20 | mbedtls2 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.21 | mbedtls2 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.22 | mbedtls2 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.23 | mbedtls2 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.24 | mbedtls2 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Alpine:v3.24 | mbedtls3 | 2.28.1-r0 | ALPINE-CVE-2022-35409 |
| Debian:12 | mbedtls | 2.28.1-1 | DEBIAN-CVE-2022-35409 |
| Debian:13 | mbedtls | 2.28.1-1 | DEBIAN-CVE-2022-35409 |
| Debian:14 | mbedtls | 2.28.1-1 | DEBIAN-CVE-2022-35409 |