CVE-2022-35409 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-...
CriticalCVSS 9.1
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mbedtls(Debian:12) | < 2.28.1-1 | 2.28.1-1 |
| debian/mbedtls(Debian:13) | < 2.28.1-1 | 2.28.1-1 |
| debian/mbedtls(Debian:14) | < 2.28.1-1 | 2.28.1-1 |
| ubuntu/mbedtls(Ubuntu:22.04) | All versions | No fix listed |
| Arm Ltd mbed tls | < 2.28.1 | 2.28.1 |
| TrustedFirmware Mbed TLS | >= 3.0.0, < 3.2.0 | 3.2.0 |
| debian linux | = 10.0 | No fix listed |
| alpine/mbedtls(Alpine:v3.16) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.17) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.18) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.19) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.20) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.21) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.22) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.23) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls(Alpine:v3.24) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls2(Alpine:v3.20) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls2(Alpine:v3.21) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls2(Alpine:v3.22) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls2(Alpine:v3.23) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls2(Alpine:v3.24) | < 2.28.1-r0 | 2.28.1-r0 |
| alpine/mbedtls3(Alpine:v3.24) | < 2.28.1-r0 | 2.28.1-r0 |
References
- Debian Security Tracker CVE-2022-35409 vendor-advisory
- github.com release-notes
- mbed-tls.readthedocs.io exploit mitigation vendor-advisory
- [debian-lts-announce] 20221225 [SECURITY] [DLA 3249-1] mbedtls security update mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory